Class: PresetsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/presets_controller.rb

Instance Method Summary collapse

Instance Method Details

#editObject


10
11
12
# File 'app/controllers/presets_controller.rb', line 10

def edit
  @preset = Preset.find(params[:id])
end

#indexObject


2
3
4
# File 'app/controllers/presets_controller.rb', line 2

def index
  @presets = Preset.all
end

#newObject


6
7
8
# File 'app/controllers/presets_controller.rb', line 6

def new
  @preset = Preset.new
end