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

Remove SingularSubresourceController concern from CitationsController to enable citations for Valkyrie resources #5554

Merged
merged 3 commits into from
Mar 18, 2022

Conversation

eliotjordan
Copy link
Contributor

Closes #5452

  • Enables citations button in dassie test app so it can be tested
  • Remove SingularSubresourceController concern from CitationsController to enable citations for Valkyrie resources

SingularSubresourceController is bound tightly to ActiveFedorda and removing the controller mix-in enables citations for Valkyrie and non-Valkyrie works.

Copy link
Contributor

@elrayle elrayle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update to redirect to home when user doesn't have permission. Good for users to have consistent behavior.

@elrayle elrayle merged commit ad00b23 into main Mar 18, 2022
@elrayle elrayle deleted the 5452-citaions branch March 18, 2022 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

citation button on work show page displays "NoMethodError in Hyrax::CitationsController#work" error
2 participants