kitsune 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/kitsune.gemspec +1 -1
- data/lib/kitsune/page.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/kitsune.gemspec
CHANGED
data/lib/kitsune/page.rb
CHANGED
@@ -27,7 +27,7 @@ module Kitsune
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def must_be_kitsune_route
|
30
|
-
unless ActionController::Routing::Routes.recognize_path(url.present? ? url : url_for_page)[:controller] == 'kitsune'
|
30
|
+
unless ActionController::Routing::Routes.recognize_path(url.present? ? url : url_for_page, :method => :get)[:controller] == 'kitsune'
|
31
31
|
errors.add_to_base("URL is already being used")
|
32
32
|
end
|
33
33
|
end
|