effective_regions 1.4.9 → 1.4.10
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acdd2fcfad642191327de27d5a9fe4aadb40c641
|
4
|
+
data.tar.gz: 728f38432fd882671bac83c29d6e54ada4bb2249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5be4ebc7c19fd7ae234b09f20ca51b80fa57a53cd2ed619e643096764819fccb90a6c6f43801be3cf6ae6de1e6efeadfb851161134d1425bc81f2aba9c2e0b3f
|
7
|
+
data.tar.gz: cb1d4675193faf95635840dc263b5405c062185a5fbf6d10487366d4f01d8b6afd1609b8ebac59f42db75fb90dc8f3445a7c3c781128bb7e903ab3a7e0f86921
|
@@ -14,7 +14,9 @@ module Effective
|
|
14
14
|
cookies['effective_regions_editting'] = {:value => params[:exit].presence || request.referrer, :path => '/'}
|
15
15
|
|
16
16
|
# TODO: turn this into a cookie or something better.
|
17
|
-
|
17
|
+
uri = URI.parse(request.url.sub('/edit', ''))
|
18
|
+
uri.query = [uri.query, "edit=true"].compact.join('&')
|
19
|
+
redirect_to uri.to_s
|
18
20
|
end
|
19
21
|
|
20
22
|
def update
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_regions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|