summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-03 22:14:00 -0700
committermo khan <mo@mokhan.ca>2015-02-03 22:14:00 -0700
commit3371919560ef37fac3f59c95ad4cf2f6a472ef57 (patch)
treef158207e234353b33298e640bac0510a9782a3bd /config
parent4827894034d47962bfc6c51472c9ed2617ebf3a9 (diff)
add endpoint for cloud lookup.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index eeddcac..ae0a4cb 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,7 @@
Rails.application.routes.draw do
resources :agents do
resources :events, only: [:index, :new, :create, :destroy], controller: 'agents/events'
+ resources :files, only: [:index, :show], controller: 'agents/files'
end
resources :dispositions