Skip to content

Commit

Permalink
routes under prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdshaw committed Jul 26, 2022
1 parent bf1a238 commit e41dc8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Binary file removed backend/.DS_Store
Binary file not shown.
8 changes: 6 additions & 2 deletions 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])
end
[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 e41dc8d

Please sign in to comment.