created template selecting

This commit is contained in:
Senad Uka
2016-02-21 11:59:13 +01:00
parent 7af44a6245
commit 709ce3e38c
46 changed files with 584 additions and 20 deletions

View File

@@ -10,3 +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 )

View File

@@ -1,4 +1,13 @@
Rails.application.routes.draw do
resources :configuration_templates do as_routes end
resources :file_versions do as_routes end
resources :file_types do as_routes end
resources :configuration_files do
as_routes
collection do
post 'create_from_template'
end
end
resources :operating_systems do as_routes end
resources :servers do as_routes end
# The priority is based upon order of creation: first created -> highest priority.