Class: LatoView::DevelopController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- LatoView::DevelopController
- Defined in:
- app/controllers/lato_view/develop_controller.rb
Overview
This class is used to show develop pages on development environment.
Instance Method Summary collapse
-
#home ⇒ Object
This function render the develop page for lato_view.
Instance Method Details
#home ⇒ Object
This function render the develop page for lato_view.
12 13 14 |
# File 'app/controllers/lato_view/develop_controller.rb', line 12 def home redirect_to lato_core.root_path if Rails.env.production? end |