Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call authorize_resource on the index action #1234

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@westonganger
Copy link

commented Nov 2, 2018

Solves #1233

@@ -3,6 +3,8 @@ class ApplicationController < ActionController::Base
protect_from_forgery with: :exception

def index
authorize_resource(resource_class)

This comment has been minimized.

Copy link
@houndci-bot

houndci-bot Nov 2, 2018

Layout/TrailingWhitespace: Trailing whitespace detected.

@westonganger westonganger force-pushed the westonganger:patch-1 branch from 143e625 to a632777 Nov 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.