minimum_viable_product 0.5.4 → 0.5.5
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: 88bd284683b9bfa7de57a31f01099c4bdde86432
|
4
|
+
data.tar.gz: 1471017d91b5e8b9598fd044f50cb90bc9eabb8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e13477891566ac12615307228912f05764b9f295e8e56bc3772b0a22e208ada23ca271a1ab5e4530d06a01c0ffec56e78a454ee5f07fa37d14c03cbfe58580fc
|
7
|
+
data.tar.gz: dfb8524a0a222fa618975794bad11233fb11e78d838e77f9c7d7539c614ce1e833875d988b82eea008070f5d464278da70bb47db5d4919057a49c14ae7638b9b
|
@@ -34,7 +34,7 @@ module MinimumViableProduct
|
|
34
34
|
|
35
35
|
# http://blog.laaz.org/tech/2012/12/27/rails-redirect_back_or_default/
|
36
36
|
def redirect_back_or_default(default = root_url)
|
37
|
-
redirect_to(session.delete(:return_to) || request.referer
|
37
|
+
redirect_to(session.delete(:return_to) || default || request.referer)
|
38
38
|
end
|
39
39
|
alias_method :redirect_to_back_or_default, :redirect_back_or_default
|
40
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimum_viable_product
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Hunter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: analytics-ruby
|