Class: Eyeloupe::ConfigsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Eyeloupe::ConfigsController
- Defined in:
- app/controllers/eyeloupe/configs_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#update ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/eyeloupe/configs_controller.rb', line 8 def update Eyeloupe.configuration.capture = @value == "true" [:eyeloupe_capture] = @value redirect_to root_path, status: 303 end |