app/controllers/admin/base_controller.rb in fullstack-admin-0.1.56 vs app/controllers/admin/base_controller.rb in fullstack-admin-0.2.1
- old
+ new
@@ -6,10 +6,10 @@
protected
def rescue_access_denied
if subject.guest?
- redirect_to new_user_session_path
+ redirect_to new_admin_session_path
else
render :text => "Not Authorized", :status => 403
end
end