You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
Sorry for asking this question here. It is not the issue with this gem. I am just desperate so I thought I can get help faster in here.
I have mounted an engine to my application. Then I changed the application_controller.rb in the engine to class ApplicationController < ActionController::ApplicationController. When I use filter_resource_access in the engine controller I get that page is not redirecting properly.
Any idea why this happen? technically it should redirecting the page to the root and tell me that I am not authorize to view this page.
The text was updated successfully, but these errors were encountered:
After permission denied:
Here is the log
: Redirected to http://0.0.0.0:3000/blog/
: Filter chain halted as :filter_access_filter rendered or redirected
: Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
Hi guys,
Sorry for asking this question here. It is not the issue with this gem. I am just desperate so I thought I can get help faster in here.
I have mounted an engine to my application. Then I changed the application_controller.rb in the engine to class ApplicationController < ActionController::ApplicationController. When I use filter_resource_access in the engine controller I get that page is not redirecting properly.
Any idea why this happen? technically it should redirecting the page to the root and tell me that I am not authorize to view this page.
The text was updated successfully, but these errors were encountered: