rails_source_path 1.0.1 → 1.0.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 +4 -4
- data/lib/rails_source_path/version.rb +1 -1
- data/rails_source_path.gemspec +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0308b7fda126886f2011849ea586145eff320d6d'
|
4
|
+
data.tar.gz: 5fdf9ed4bdab4ae06d379614f24102dfff28a0f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dcde9a25d946cf50936a11959f7c2c09c36a4f12c0daa550f1b1a6368148437367db5da0aa0b8bdb357910bd6fe0ce15321f88c2abd696f8bc974a34e69cfb7
|
7
|
+
data.tar.gz: 9cf2b9c12e78fe7b282a2da75227f474c51c3461047d1fbab1728164c322eeb3c103e0cade3792d68b18aa42bbda56bcaf3340e702b28f30117de280c0d16243
|
data/rails_source_path.gemspec
CHANGED
@@ -10,7 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["lxz.tty@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Remember the route prior to the current controller and redirect/use later}
|
13
|
-
spec.description = %q{
|
13
|
+
spec.description = %q{Remember the route prior to the current controller and redirect/use later
|
14
|
+
In rails project, one common case is one form used to create or update
|
14
15
|
an object can be routed from more than one page, when the object is created or updated, it
|
15
16
|
should be redirected back to wherever it came from. Rails redirect_back doesn't work in this
|
16
17
|
case because: 1. redirect_back in create/update action will go back to new/edit form. 2.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_source_path
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leo Li
|
@@ -95,7 +95,8 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.0'
|
97
97
|
description: |-
|
98
|
-
|
98
|
+
Remember the route prior to the current controller and redirect/use later
|
99
|
+
In rails project, one common case is one form used to create or update
|
99
100
|
an object can be routed from more than one page, when the object is created or updated, it
|
100
101
|
should be redirected back to wherever it came from. Rails redirect_back doesn't work in this
|
101
102
|
case because: 1. redirect_back in create/update action will go back to new/edit form. 2.
|