config/routes.rb in daengine-0.6.16 vs config/routes.rb in daengine-0.6.17
- old
+ new
@@ -1,10 +1,12 @@
Rails.application.routes.draw do
- resources :digital_assets, except: [:new, :edit], defaults: {format: 'json'} do
+ resources :digital_assets, except: [:new, :edit], defaults: {format: 'json'} do
collection do
get 'fund_docs'
get 'search', to: 'digital_assets#search'
post 'search', to: 'digital_assets#search'
post 'updated_time'
end
end
+
+ resources :content_folder, only: [:index, :create], defaults: {format: 'json'}
end