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 CHANGED
@@ -104,16 +104,12 @@ Your users table needs a few columns.
104
104
 
105
105
  h2. Routes
106
106
 
107
- ActionController::Routing::Routes.draw do |map|
108
-
109
- map.resources :users
110
- map.resource :session
111
- map.resources :users, :has_one => :password
112
- map.resources :users, :has_one => :confirmation
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 new_session_url
29
+ redirect_to url_after_create
30
30
  else
31
31
  render :action => "new"
32
32
  end
@@ -2,6 +2,6 @@ module Clearance
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 1
5
+ PATCH = 2
6
6
  end
7
7
  end
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.1
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-13 00:00:00 -07:00
17
+ date: 2008-10-14 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20