anytime 0.1.5 → 0.1.6
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.
@@ -21,11 +21,11 @@ module AnytimeHelper
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def freeze_path
|
24
|
-
url_for :controller => 'anytime', :action => 'freeze'
|
24
|
+
url_for :controller => 'anytime', :action => 'freeze'
|
25
25
|
end
|
26
26
|
|
27
27
|
def unfreeze_path
|
28
|
-
url_for :controller => 'anytime', :action => 'unfreeze'
|
28
|
+
url_for :controller => 'anytime', :action => 'unfreeze'
|
29
29
|
end
|
30
30
|
|
31
31
|
def active_environments
|
data/lib/config/routes.rb
CHANGED
@@ -4,8 +4,8 @@ require "active_support/core_ext/hash/slice"
|
|
4
4
|
module ActionDispatch::Routing
|
5
5
|
class Mapper
|
6
6
|
def routes_anytime_to(path_name)
|
7
|
-
match path_name.to_s => 'anytime#freeze'
|
8
|
-
match 'un' + path_name.to_s => 'anytime#unfreeze'
|
7
|
+
match path_name.to_s => 'anytime#freeze'
|
8
|
+
match 'un' + path_name.to_s => 'anytime#unfreeze'
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|