Sha256: 714eee3b7fac2dd38f80b03ea9d249713a5ee4b3e5c9ec3973e3601d3061141f

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

module LatoView
  # This class is used to show develop pages on development environment.
  class DevelopController < ActionController::Base

    # set lato_view layout
    layout "lato_layout"

    # check user is logged before actions
    before_action :core_controlUser

    # This function render the develop page for lato_view.
    def home
      redirect_to lato_core.root_path if Rails.env.production?
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lato_view-1.1.5 app/controllers/lato_view/develop_controller.rb
lato_view-1.1.4 app/controllers/lato_view/develop_controller.rb
lato_view-1.1.3 app/controllers/lato_view/develop_controller.rb