Sha256: a26a7a150f0566c963ee3af121d4ea0ef78a53e3fc7658657281712cafda1395

Contents?: true

Size: 636 Bytes

Versions: 3

Compression:

Stored size: 636 Bytes

Contents

module LatoCore
  # This class is the main class for the lato backend panel.
  class Back::BackController < ApplicationController

    # set default lato_view layout
    layout 'lato_layout'

    # set check login control for every actions.
    before_action :core_controlUser

    # This function render the default home view for lato after login or
    # redirect to custom url if config file set one.
    def home
      # rimando ad una pagina custom se รจ stato impostato da file di
      # configurazione
      if login_root = core_getApplicationLoginRoot and login_root
        redirect_to login_root
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lato_core-1.1.5 app/controllers/lato_core/back/back_controller.rb
lato_core-1.1.4 app/controllers/lato_core/back/back_controller.rb
lato_core-1.1.3 app/controllers/lato_core/back/back_controller.rb