Create device controller with and API to create a device

- Turn of assets and helper generation automatically
This commit is contained in:
Yedhu Krishnan
2015-10-17 11:33:31 +05:30
parent 9c4800e217
commit 97bc55a518
4 changed files with 31 additions and 1 deletions

View File

@@ -31,5 +31,7 @@ module OnemdmServer
# Do not swallow errors in after_commit/after_rollback callbacks.
config.active_record.raise_in_transactional_callbacks = true
config.generators.assets = false
config.generators.helper = false
end
end

View File

@@ -14,7 +14,7 @@ Rails.application.routes.draw do
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
# Example resource route (maps HTTP verbs to controller actions automatically):
# resources :products
resources :devices
# Example resource route with options:
# resources :products do