remove redundant render
This commit is contained in:
parent
396e16a1d5
commit
891aabbffe
|
@ -22,7 +22,6 @@ class LoginController < ApplicationController
|
|||
def index
|
||||
@title = "Login"
|
||||
@referer ||= request.referer
|
||||
render :action => "index"
|
||||
end
|
||||
|
||||
def login
|
||||
|
@ -102,7 +101,6 @@ class LoginController < ApplicationController
|
|||
|
||||
def forgot_password
|
||||
@title = "Reset Password"
|
||||
render :action => "forgot_password"
|
||||
end
|
||||
|
||||
def reset_password
|
||||
|
|
|
@ -23,7 +23,5 @@ class SearchController < ApplicationController
|
|||
@search.search_for_user!(@user)
|
||||
end
|
||||
end
|
||||
|
||||
render :action => "index"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -40,8 +40,6 @@ class SignupController < ApplicationController
|
|||
if !Rails.application.open_signups?
|
||||
@new_user.email = @invitation.email
|
||||
end
|
||||
|
||||
render :action => "invited"
|
||||
end
|
||||
|
||||
def signup
|
||||
|
|
Loading…
Reference in New Issue