Sha256: 1ed4dd8d95f00e84a8dc9323333423eecdca2ed8d1b05a8d9437e3c2f14815a2

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

class Manage::ApplicationController < ActionController::Base
  before_action :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.4.3 app/controllers/manage/application_controller.rb
manage-1.4.2 app/controllers/manage/application_controller.rb
manage-1.4.1 app/controllers/manage/application_controller.rb
manage-1.4 app/controllers/manage/application_controller.rb
manage-1.3.52 app/controllers/manage/application_controller.rb