Sha256: 57f18aef31d48cb9ac55c63c5f6c874a2d8b9741016bceda1753fa76cbb624d9

Contents?: true

Size: 283 Bytes

Versions: 5

Compression:

Stored size: 283 Bytes

Contents

class Manage::ApplicationController < ActionController::Base
  before_filter :auth_user!

  def auth_user!
    redirect_to new_admin_user_session_path unless admin_user_signed_in?
  end

  helper_method :current_user
  def current_user
    current_admin_user
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
manage-1.3.41 app/controllers/manage/application_controller.rb
manage-1.3.35 app/controllers/manage/application_controller.rb
manage-1.3.30 app/controllers/manage/application_controller.rb
manage-1.3.22 app/controllers/manage/application_controller.rb
manage-1.3.21 app/controllers/manage/application_controller.rb