Sha256: 12b2f75abd44215c8a0baad52eeddf26cf2b0953a6ae0b66119cfd80481bbbc8

Contents?: true

Size: 411 Bytes

Versions: 10

Compression:

Stored size: 411 Bytes

Contents

class Admin::ApplicationController < TbCore::ApplicationController
  include TbCore::BelongsToApp
  before_action :require_admin_user
  add_breadcrumb 'Dashboard', :admin_root_path
  layout 'admin/detail'
  respond_to :html, :json

private

  def template_for_request_error
    return '/layouts/admin/error_page'
  end

  def login_path_for_require_user
    admin_login_path(return_to: request.path)
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tb_core-1.5.4 app/controllers/admin/application_controller.rb
tb_core-1.5.3 app/controllers/admin/application_controller.rb
tb_core-1.5.2 app/controllers/admin/application_controller.rb
tb_core-1.5.1 app/controllers/admin/application_controller.rb
tb_core-1.5.0 app/controllers/admin/application_controller.rb
tb_core-1.4.8 app/controllers/admin/application_controller.rb
tb_core-1.4.7 app/controllers/admin/application_controller.rb
tb_core-1.4.6 app/controllers/admin/application_controller.rb
tb_core-1.4.5 app/controllers/admin/application_controller.rb
tb_core-1.4.4 app/controllers/admin/application_controller.rb