localyzed 0.0.1 → 0.0.1.1

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.
@@ -27,7 +27,7 @@ class ActionController::Base
27
27
  # rediredct 302 for root / 301 for other pages
28
28
  if request.path == '/'
29
29
  params.delete(:action) # removes the action param from params so that it doesn't appear anymore in the redirected url ("?action=root")
30
- redirect_to home_path(params.merge(:locale => I18n.locale.to_s))
30
+ redirect_to url_for(params.merge(:locale => I18n.locale.to_s))
31
31
  else
32
32
  redirect_to(url_for(params.merge(:locale => I18n.locale.to_s, :from_l => (params[:locale] if params[:locale]))), :status => :moved_permanently)
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module Localyzed
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localyzed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: