mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
redirect to login page
This commit is contained in:
parent
59b431513b
commit
9e0abc342a
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue