[Archivesspace_Users_Group] Adding Route to PUI - tip

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Wed Jan 12 09:00:39 EST 2022

Since this just tripped me up, I figured I'd share with the group.

If you are looking to add a route to the PUI in a plugin, you cannot use a two part path for your new route since this existing route will catch any of those:

get ":obj_type/:slug_or_id" => 'objects#show'



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220112/e33fc5a8/attachment.html>

More information about the Archivesspace_Users_Group mailing list