Class: RysFeaturesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/rys_features_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject


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

def index
end

#updateObject


9
10
11
12
13
14
# File 'app/controllers/rys_features_controller.rb', line 9

def update
  @feature.active = params[:active]
  @feature.save

  redirect_to rys_features_path
end