authlogic_wind 0.2.0 → 0.3.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{authlogic_wind}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Stuart"]
@@ -1,7 +1,7 @@
1
1
  module AuthlogicWind
2
2
  module Helper
3
3
  def wind_login_url(controller_name)
4
- url_for(:controller => controller_name) + "/create?login_with_wind=true"
4
+ url_for(:controller => controller_name) + "/new?login_with_wind=true&return_to=#{CGI.escapeHTML(request.request_uri)}"
5
5
  end
6
6
  end
7
7
  end
@@ -40,7 +40,7 @@ module AuthlogicWind
40
40
 
41
41
  alias_method :auto_register=,:auto_register
42
42
 
43
- end
43
+ end
44
44
 
45
45
 
46
46
  module Methods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlogic_wind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stuart