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

Add Controller Action Aliases proposal to README #28

Merged
merged 3 commits into from
Jun 29, 2018

Conversation

brendon
Copy link
Contributor

@brendon brendon commented Jun 28, 2018

Add Tips & Tricks section
Fix scroll to top issue with sidebar links

Add Tips & Tricks section
Fix scroll to top issue with sidebar links
@palkan palkan merged commit ae9fe79 into palkan:master Jun 29, 2018
@brendon brendon deleted the controller-aliases branch June 29, 2018 10:53
@palkan palkan added the docs label Jul 5, 2018
@brendon
Copy link
Contributor Author

brendon commented Jul 6, 2020

For historical purposes, I was able to work around this issue by implementing per-controller policies (even if they were empty) that inherit from the global policy that does all the work. I then created Rails Concerns that added the aliases that would be used in multiple discreet parent policies. These were then included where necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants