Sha256: 4589a9bcaf424c8df421a408ea53adb1cbbb98de726df707c2fbf5be88db5499

Contents?: true

Size: 270 Bytes

Versions: 46

Compression:

Stored size: 270 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

46 entries across 46 versions & 1 rubygems

Version Path
manage-1.3.5 app/controllers/manage/application_controller.rb
manage-1.3.4 app/controllers/manage/application_controller.rb
manage-1.3.3 app/controllers/manage/application_controller.rb
manage-1.3.2 app/controllers/manage/application_controller.rb
manage-1.3.1 app/controllers/manage/application_controller.rb
manage-1.3.0 app/controllers/manage/application_controller.rb