param
is not working with belongs_to
#816
Unanswered
samstickland
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this configuration in my activeadmin file:
But I'm not seeing the route get generated with the right param name:
I'm expecting
assignment_id
to bereference_number
I've dug into the source code a bit and I can't see how the
param
config is supposed to be used:It looks to like that config is only ever retrieved here, and only used inside of this block, where
param
isn't accessed:inherited_resources/lib/inherited_resources/url_helpers.rb
Line 71 in 219d088
ActiveAdmin: 2.9.0
InheritedResources: 1.13.0
Ruby: 3.0.2
Beta Was this translation helpful? Give feedback.
All reactions