Class: ErpApp::LoginController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ErpApp::LoginController
- Defined in:
- app/controllers/erp_app/login_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/controllers/erp_app/login_controller.rb', line 5 def index if session[:return_to_url] if session[:return_to_url].include? 'erp_app/desktop' @app_container = '/erp_app/desktop/' else @app_container = '/erp_app/organizer/' end else if params[:application] == 'desktop' @app_container = '/erp_app/desktop/' else @app_container = '/erp_app/organizer/' end end end |