summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-03-30 16:20:30 -0600
committermo khan <mo@mokhan.ca>2014-03-30 16:20:30 -0600
commitde63577b2895bbf83047d4743c9fa8edb2b2cefe (patch)
tree0c46fada3714e175f28819a102f4a50cf17fb40c /config
parentf1be4681862dfd8cc05d4e8e07b495d3b3a6621c (diff)
add routing spec to logins#create.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 518fd7a..93ee0f8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,5 @@
Mocode::Application.routes.draw do
- get 'logins/new', to: 'logins#new'
+ resources :logins, only: [:new, :create]
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".