Class: PresetsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- PresetsController
- Defined in:
- app/controllers/presets_controller.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) edit
10 11 12 |
# File 'app/controllers/presets_controller.rb', line 10 def edit @preset = Preset.find(params[:id]) end |
- (Object) index
2 3 4 |
# File 'app/controllers/presets_controller.rb', line 2 def index @presets = Preset.all end |
- (Object) new
6 7 8 |
# File 'app/controllers/presets_controller.rb', line 6 def new @preset = Preset.new end |