Class: ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ApplicationController
- Defined in:
- app/controllers/application_controller.rb
Direct Known Subclasses
ApisController, Banal::BrainstormsController, Banal::ProjectsController, BanalBusinessTestcasesController, BasecampIntegrationsController, CodeChangeRequestsController, CodeLinkBatchesController, CodeLinkTypesController, CodeLinksController, CodesController, CookieChangesController, DirectoriesController, EziiIntegrationsController, EziiOsFilesController, FileSystemsController, ImportedDataController, Partners::GetPaidsController, SearchesController, TasksController, TypesController, UnzipsController, WitAiParseModelExamplesController, WitAiParseModelsController
Instance Method Summary collapse
Instance Method Details
#choose_layout ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/controllers/application_controller.rb', line 4 def choose_layout if params[:legacy_layout] == "1" "application_legacy" else "application" end end |