summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-21 12:31:50 -0700
committermo khan <mo@mokhan.ca>2015-02-21 12:31:50 -0700
commit6ada62adfd2b60e3af4f721ed8e09a5658920fa6 (patch)
tree1f65086944ce3be9b12b48bda16761fde6a6b965 /config
parentd3f91de6fcc6d27bc2d7adb8f1e14d73b71e7b96 (diff)
add user model and login page.
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 ae0a4cb..3d664d0 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,5 @@
Rails.application.routes.draw do
+ resources :sessions, only: [:new, :create, :destroy]
resources :agents do
resources :events, only: [:index, :new, :create, :destroy], controller: 'agents/events'
resources :files, only: [:index, :show], controller: 'agents/files'