created file sync
This commit is contained in:
@@ -10,4 +10,4 @@ Rails.application.config.assets.version = '1.0'
|
||||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
||||
# Rails.application.config.assets.precompile += %w( search.js )
|
||||
Rails.application.config.assets.precompile += %w( active_scaffold/indicator.gif )
|
||||
Rails.application.config.assets.precompile += %w( template_select_form.js )
|
||||
Rails.application.config.assets.precompile += %w( template_select_form.js edit_configuration_file_form.js )
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
Rails.application.routes.draw do
|
||||
|
||||
get '/file/:id', to: 'configuration_files#content', as: 'pull_file'
|
||||
post '/file/:id', to: 'configuration_files#update_by_api', as: 'push_file'
|
||||
|
||||
resources :configuration_templates do as_routes end
|
||||
resources :file_versions do as_routes end
|
||||
resources :file_types do as_routes end
|
||||
@@ -7,6 +11,9 @@ Rails.application.routes.draw do
|
||||
collection do
|
||||
post 'create_from_template'
|
||||
end
|
||||
member do
|
||||
put 'update_by_form'
|
||||
end
|
||||
end
|
||||
resources :operating_systems do as_routes end
|
||||
resources :servers do as_routes end
|
||||
|
||||
Reference in New Issue
Block a user