Class: OnlineServicesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- OnlineServicesController
- Defined in:
- app/controllers/online_services_controller.rb
Instance Method Summary collapse
Instance Method Details
#header ⇒ Object
9 10 11 12 |
# File 'app/controllers/online_services_controller.rb', line 9 def header @base_url = RefinerySetting.get(:masthead_base_url) render :layout => false end |
#show ⇒ Object
2 3 4 5 6 7 |
# File 'app/controllers/online_services_controller.rb', line 2 def show base_url = params[:base_url] || RefinerySetting.get(:masthead_base_url) app_name = params[:id] @content_url = "#{base_url}servlet/DSFCentralServlet?appName=#{app_name}" render :layout => false end |