Remove unnecessary test for 0
This commit is contained in:
parent
e488a7e862
commit
fa81a608f7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class UsersController < ApplicationController
|
||||||
def save
|
def save
|
||||||
@title = t "users.new.title"
|
@title = t "users.new.title"
|
||||||
|
|
||||||
if params[:decline] || !params[:read_tou] || params[:read_tou] == "0"
|
if params[:decline] || !params[:read_tou]
|
||||||
if current_user
|
if current_user
|
||||||
current_user.terms_seen = true
|
current_user.terms_seen = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue