Skip to content
Browse files

Use verification instead of verify.

  • Loading branch information...
1 parent 09723b8 commit 252973b3d9db429de57499761c9a5f47162b1a28 @kjohnston kjohnston committed Oct 16, 2012
View
2 README.md
@@ -145,7 +145,7 @@ You can customize the paths used to redirect users after login, logout, registra
* `after_login_path` is used after the user logs in.
* `after_logout_path` is used after the user logs out.
* `after_registration_path` is used after the user registers.
-* `after_verify_path` is used after the user verifies their email.
+* `after_verification_path` is used after the user verifies their email.
## TODO
View
2 app/controllers/thincloud/authentication/registrations_controller.rb
@@ -42,7 +42,7 @@ def create
def verify
identity = Identity.verify!(params[:token])
login_as identity.user
- redirect_to after_verify_path,
+ redirect_to after_verification_path,
notice: "Thank you! Your registration has been verified."
end
View
4 lib/thincloud/authentication/authenticatable_controller.rb
@@ -79,10 +79,10 @@ def after_registration_path
main_app.root_url
end
- # Protected: Provides the URL to redirect to after verifying.
+ # Protected: Provides the URL to redirect to after verification.
#
# Returns: A string.
- def after_verify_path
+ def after_verification_path
main_app.root_url
end

0 comments on commit 252973b

Please sign in to comment.
Something went wrong with that request. Please try again.