mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #2062 from aignatov-bio/ai-sci-fix-routes-for-addons-installer
Fix routes for addons installer
This commit is contained in:
commit
11881e54a5
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ Rails.application.routes.draw do
|
|||
skip_controllers :applications, :authorized_applications, :token_info
|
||||
end
|
||||
|
||||
# Addons
|
||||
|
||||
def draw(routes_name)
|
||||
instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb")))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue