rao-resources_controller 0.0.51.pre → 0.0.52.pre
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72a3cb536d3b5abec8bcf1e030321a6172784870a154f23f8e3300565266f620
|
4
|
+
data.tar.gz: 01bdfda0e31e80bc7b39d3d939cb806dc4b4a514871411fc358727591bf400e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4304acf3cd39b654a6cf95351ba9e7b799eddee0aa6aac20f9889a42f8447c5445ec5c783e3bfc66ccee691fe42c973a98cafe4ef65c8f589f5d137e45bbef23
|
7
|
+
data.tar.gz: 66e6a70f1b23de363d640023b641495001101df76762d6ec0729daafaf61a82443458cde94b0c090868e6ad0f1f90ac8619efb2c523ad8318899cb1cca883fd0
|
@@ -12,19 +12,19 @@ module Rao
|
|
12
12
|
private
|
13
13
|
|
14
14
|
def new_resource_path
|
15
|
-
resource_router.
|
15
|
+
resource_router.polymorphic_path(resource_class, action: :new)
|
16
16
|
end
|
17
17
|
|
18
18
|
def collection_path
|
19
|
-
resource_router.
|
19
|
+
resource_router.polymorphic_path(resource_class)
|
20
20
|
end
|
21
21
|
|
22
22
|
def resource_path(resource)
|
23
|
-
resource_router.
|
23
|
+
resource_router.polymorphic_path(resource)
|
24
24
|
end
|
25
25
|
|
26
26
|
def edit_resource_path(resource)
|
27
|
-
resource_router.
|
27
|
+
resource_router.polymorphic_path(resource, action: :edit)
|
28
28
|
end
|
29
29
|
|
30
30
|
def resource_router
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rao-resources_controller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.52.pre
|
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:
|
11
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|