Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- authenticate :user do
- #page to protect
- end
- get 'user/sign_in' => redirect('/')
- def new
- return render :json => {:success => false, :type => "signinn", :errors => ["You have to confirm your email address before continuing."]}
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement