Sha256: 59a824248689e511f5957fd73e3a0a15538e99b86d53363f502542e855ef19b0

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

class Admin::IndexController < ApplicationController
  before_filter :authenticate_admin!
  
  layout 'admin'
  def index
    
  end
  
  
  def after_sign_out_path_for(resource)
    new_admin_session_path
  end
  
  def after_sign_in_path_for(resource)
    request.env['omniauth.origin'] || stored_location_for(resource) || new_admin_manual_page_path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
node_cms-0.0.2 app/controllers/admin/index_controller.rb