Class: LatoView::DevelopController

Inherits:
ActionController::Base
  • Object
show all
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

Instance Method Details

#homeObject

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