Render unknown user with concerns code in notes controller
This commit is contained in:
parent
4ceebefefa
commit
2d39ba7954
2 changed files with 2 additions and 5 deletions
|
@ -18,7 +18,7 @@ module UserMethods
|
|||
@not_found_user = name
|
||||
|
||||
respond_to do |format|
|
||||
format.html { render :template => "users/no_such_user", :status => :not_found }
|
||||
format.html { render :template => "users/no_such_user", :status => :not_found, :layout => "site" }
|
||||
format.all { head :not_found }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue