def activate(token): if settings.require_activation: return user_controller.activate_account(token) else: abort(404)
def activate(token): return user_controller.activate_account(token)