Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use verification instead of verify.

  • Loading branch information...
commit 252973b3d9db429de57499761c9a5f47162b1a28 1 parent 09723b8
Kenny Johnston kjohnston authored
2  README.md
Source Rendered
@@ -145,7 +145,7 @@ You can customize the paths used to redirect users after login, logout, registra
145 145 * `after_login_path` is used after the user logs in.
146 146 * `after_logout_path` is used after the user logs out.
147 147 * `after_registration_path` is used after the user registers.
148   -* `after_verify_path` is used after the user verifies their email.
  148 +* `after_verification_path` is used after the user verifies their email.
149 149
150 150 ## TODO
151 151
2  app/controllers/thincloud/authentication/registrations_controller.rb
@@ -42,7 +42,7 @@ def create
42 42 def verify
43 43 identity = Identity.verify!(params[:token])
44 44 login_as identity.user
45   - redirect_to after_verify_path,
  45 + redirect_to after_verification_path,
46 46 notice: "Thank you! Your registration has been verified."
47 47 end
48 48
4 lib/thincloud/authentication/authenticatable_controller.rb
@@ -79,10 +79,10 @@ def after_registration_path
79 79 main_app.root_url
80 80 end
81 81
82   - # Protected: Provides the URL to redirect to after verifying.
  82 + # Protected: Provides the URL to redirect to after verification.
83 83 #
84 84 # Returns: A string.
85   - def after_verify_path
  85 + def after_verification_path
86 86 main_app.root_url
87 87 end
88 88

0 comments on commit 252973b

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