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
which takes away a lot of the niceness of decent_exposure.
It would be nice if the .friendly.find style could be configured out of the box along the lines of
expose(:object, config: :friendly)
or similar
The text was updated successfully, but these errors were encountered:
Thanks @johannesluedke for your input. That seems like a pretty specific request but we will definitely consider this use case when defining our feature requests for v3.0.
To make it less specific - it would be nice to be able to set .friendly.find as the finder option like so
expose(:article, finder: < .friendly.find > )
Currently a symbol is passed to the finder option and I am not sure how a chained method called can be mapped to a symbol properly - but this would solve as well and be less specific
When using FriendlyID5 (without deprecated finders and their monkey-patching), for a slug stored in params[:id], at the moment it's necessary to use
which takes away a lot of the niceness of decent_exposure.
It would be nice if the
.friendly.find
style could be configured out of the box along the lines ofor similar
The text was updated successfully, but these errors were encountered: