Class: MissionControl::Servers::ScriptsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- MissionControl::Servers::ScriptsController
- Defined in:
- app/controllers/mission_control/servers/scripts_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/mission_control/servers/scripts_controller.rb', line 5 def show response.content_type = 'text/plain' # Render the script directly or from a file render plain: script_content end |