Class: AdminFu::SamplesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- AdminFu::SamplesController
- Defined in:
- app/controllers/admin_fu/samples_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
2 3 4 5 6 |
# File 'app/controllers/admin_fu/samples_controller.rb', line 2 def show flash[:error] = 'This is an error' flash[:success] = 'This is a success' render params[:id].to_sym end |