Sha256: 07233363380a1b12e54fdbb58ac49f9dff16b426b36360536d7ff228a4a2b79a

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

class Admin::ApplicationController < Spud::ApplicationController

  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

4 entries across 4 versions & 1 rubygems

Version Path
tb_core-1.3.10 app/controllers/admin/application_controller.rb
tb_core-1.3.9 app/controllers/admin/application_controller.rb
tb_core-1.3.7 app/controllers/admin/application_controller.rb
tb_core-1.3.6 app/controllers/admin/application_controller.rb