Class: Perron::ConciergeController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Perron::ConciergeController
- Defined in:
- app/controllers/perron/concierge_controller.rb
Instance Method Summary collapse
Instance Method Details
#run_command ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/perron/concierge_controller.rb', line 7 def run_command system(params[:command]) redirect_back fallback_location: root_path end |
#show ⇒ Object
3 4 5 |
# File 'app/controllers/perron/concierge_controller.rb', line 3 def show render :show end |