Commit d82ae15

mo khan <mo@mokhan.ca>
2014-03-30 22:15:39
rename login to logins.
1 parent 78c252e
Changed files (4)
app/controllers/login_controller.rb
@@ -1,5 +0,0 @@
-class LoginController < ApplicationController
-  def new
-    render nothing: true
-  end
-end
app/controllers/logins_controller.rb
@@ -0,0 +1,5 @@
+class LoginsController < ApplicationController
+  def new
+    render nothing: true
+  end
+end
config/routes.rb
@@ -1,5 +1,5 @@
 Mocode::Application.routes.draw do
-  get 'logins/new', to: 'login#new'
+  get 'logins/new', to: 'logins#new'
   # The priority is based upon order of creation: first created -> highest priority.
   # See how all your routes lay out with "rake routes".
 
spec/controllers/login_controller_spec.rb → spec/controllers/logins_controller_spec.rb
@@ -1,6 +1,6 @@
 require "spec_helper"
 
-describe LoginController do
+describe LoginsController do
   context "#new" do
     it "loads the login page" do
       get :new