Skip to content

Commit

Permalink
routes under prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdshaw committed May 24, 2022
1 parent ef8380a commit fa2a12e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/routes.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ArchivesSpace::Application.routes.draw do
match('/plugins/top_containers_labels/print_labels' => 'top_containers_labels#print_labels', :via => [:post])
[AppConfig[:frontend_proxy_prefix], AppConfig[:frontend_prefix]].uniq.each do |prefix|
scope prefix do
match('plugins/top_containers_labels/print_labels' => 'top_containers_labels#print_labels', :via => [:post])
end
end
end

0 comments on commit fa2a12e

Please sign in to comment.