scaffolding_extensions 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -36,9 +36,7 @@ module ScaffoldingExtensions
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def scaffold_redirect_to(url)
|
39
|
-
|
40
|
-
host = env['HTTP_HOST'] || "#{env['SERVER_NAME']}#{":#{env['SERVER_PORT']}" if env['SERVER_PORT'] && env['SERVER_PORT'].to_i != 80}"
|
41
|
-
redirect("//#{host}#{url}")
|
39
|
+
redirect(url)
|
42
40
|
end
|
43
41
|
|
44
42
|
# Render's the scaffolded template. A user can override both the template and the layout.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scaffolding_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Evans
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-02-09 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|