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.51 app/controllers/manage/application_controller.rb
manage-1.3.50 app/controllers/manage/application_controller.rb
manage-1.3.49 app/controllers/manage/application_controller.rb
manage-1.3.48 app/controllers/manage/application_controller.rb
manage-1.3.47 app/controllers/manage/application_controller.rb
manage-1.3.46 app/controllers/manage/application_controller.rb
manage-1.3.45 app/controllers/manage/application_controller.rb
manage-1.3.44 app/controllers/manage/application_controller.rb
manage-1.3.43 app/controllers/manage/application_controller.rb
manage-1.3.42 app/controllers/manage/application_controller.rb
manage-1.3.40 app/controllers/manage/application_controller.rb
manage-1.3.39 app/controllers/manage/application_controller.rb
manage-1.3.38 app/controllers/manage/application_controller.rb
manage-1.3.37 app/controllers/manage/application_controller.rb
manage-1.3.36 app/controllers/manage/application_controller.rb
manage-1.3.34 app/controllers/manage/application_controller.rb
manage-1.3.33 app/controllers/manage/application_controller.rb
manage-1.3.32 app/controllers/manage/application_controller.rb
manage-1.3.31 app/controllers/manage/application_controller.rb
manage-1.3.29 app/controllers/manage/application_controller.rb