rails_rad 1.1.1 → 1.1.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f1d9ea84898e58cbca83a41d04deead041e1b3b
|
|
4
|
+
data.tar.gz: 50d09aedc5c25c7babfcc1cc3f3a8b0d4a42a92d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a5daeff64e8b5719bf2980cf27349ef9fc26768086f92f9ef4e07e91605d9fddbf15e80ecb39b6e12f044799bc3e37932360076151b620a369264be21275bea
|
|
7
|
+
data.tar.gz: 70904796f40c65db6665d4bd3e23fe0180936dabd3d6179ebb4ff0544bee8edab6178abc24ad1a822ef4eb607765067e803ab81f16123342817967e481b6cc15
|
|
@@ -10,19 +10,19 @@ module Controller
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def collection_path
|
|
13
|
-
url_for(controller: controller_path, action: :index)
|
|
13
|
+
url_for(controller: controller_path, action: :index, only_path: true)
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
def new_resource_path
|
|
17
|
-
url_for(controller: controller_path, action: :new)
|
|
17
|
+
url_for(controller: controller_path, action: :new, only_path: true)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def edit_resource_path(resource)
|
|
21
|
-
url_for(controller: controller_path, action: :edit, id: resource.send(to_param_method))
|
|
21
|
+
url_for(controller: controller_path, action: :edit, id: resource.send(to_param_method), only_path: true)
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def resource_path(resource)
|
|
25
|
-
url_for(controller: controller_path, action: :show, id: resource.send(to_param_method))
|
|
25
|
+
url_for(controller: controller_path, action: :show, id: resource.send(to_param_method), only_path: true)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def to_param_method
|
data/lib/rails_rad/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_rad
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roberto Vasquez Angel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|