thoughtbot-clearance 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.textile +7 -11
- data/lib/clearance/app/controllers/users_controller.rb +1 -1
- data/lib/clearance/version.rb +1 -1
- metadata +2 -2
data/README.textile
CHANGED
|
@@ -104,16 +104,12 @@ Your users table needs a few columns.
|
|
|
104
104
|
|
|
105
105
|
h2. Routes
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
map.resources :passwords
|
|
114
|
-
map.root :controller => 'sessions', :action => 'new'
|
|
115
|
-
|
|
116
|
-
end
|
|
107
|
+
map.resources :users
|
|
108
|
+
map.resource :session
|
|
109
|
+
map.resources :users, :has_one => :password
|
|
110
|
+
map.resources :users, :has_one => :confirmation
|
|
111
|
+
map.resources :passwords
|
|
112
|
+
map.root :controller => 'sessions', :action => 'new'
|
|
117
113
|
|
|
118
114
|
h2. Environments
|
|
119
115
|
|
|
@@ -133,4 +129,4 @@ h2. Authors
|
|
|
133
129
|
* Jason Morrison
|
|
134
130
|
* Mike Burns
|
|
135
131
|
* Josh Nichols
|
|
136
|
-
* Mike Breen
|
|
132
|
+
* Mike Breen
|
|
@@ -26,7 +26,7 @@ module Clearance
|
|
|
26
26
|
if @user.save
|
|
27
27
|
UserMailer.deliver_confirmation @user
|
|
28
28
|
flash[:notice] = "You will receive an email within the next few minutes. It contains instructions for you to confirm your account."
|
|
29
|
-
redirect_to
|
|
29
|
+
redirect_to url_after_create
|
|
30
30
|
else
|
|
31
31
|
render :action => "new"
|
|
32
32
|
end
|
data/lib/clearance/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thoughtbot-clearance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoughtbot, inc.
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2008-10-
|
|
17
|
+
date: 2008-10-14 00:00:00 -07:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|