[Archivesspace_Users_Group] Serving ArchivesSpace with prefix and proxy
Steven Majewski
sdm7g at virginia.edu
Thu Jul 23 23:25:44 EDT 2015
> On Jul 23, 2015, at 9:11 PM, Steven Majewski <sdm7g at virginia.edu> wrote:
>
>
> There is still the issue of LCNAF plugin paths being broken. I haven't looked at that issue yet.
>
>
Looks like LCNAF plugin frontend/routes.rb just needs to be wrapped with a scope like the public and frontend routes:
diff --git a/plugins/lcnaf/frontend/routes.rb b/plugins/lcnaf/frontend/routes.rb
index 9a41305..7f0acd9 100644
--- a/plugins/lcnaf/frontend/routes.rb
+++ b/plugins/lcnaf/frontend/routes.rb
@@ -1,7 +1,9 @@
ArchivesSpace::Application.routes.draw do
+ scope AppConfig[:frontend_prefix] do
- match('/plugins/lcnaf' => 'lcnaf#index', :via => [:get])
- match('/plugins/lcnaf/search' => 'lcnaf#search', :via => [:get])
- match('/plugins/lcnaf/import' => 'lcnaf#import', :via => [:post])
+ match('/plugins/lcnaf' => 'lcnaf#index', :via => [:get])
+ match('/plugins/lcnaf/search' => 'lcnaf#search', :via => [:get])
+ match('/plugins/lcnaf/import' => 'lcnaf#import', :via => [:post])
+ end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150723/acd8a5ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4943 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150723/acd8a5ce/attachment.bin>
More information about the Archivesspace_Users_Group
mailing list