redirect to login page

This commit is contained in:
nilsding 2015-01-03 22:48:59 +01:00
parent 59b431513b
commit 9e0abc342a
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class UserController < ApplicationController
before_filter :authenticate_user!, only: %w(edit update privacy)
before_filter :authenticate_user!, only: %w(edit update edit_privacy update_privacy)
def show
@user = User.where('LOWER(screen_name) = ?', params[:username].downcase).first!