rad_core 0.0.24 → 0.0.25
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.
- data/lib/rad/profiles/web.rb +2 -2
- metadata +1 -1
data/lib/rad/profiles/web.rb
CHANGED
|
@@ -32,7 +32,7 @@ end
|
|
|
32
32
|
#
|
|
33
33
|
# Rack
|
|
34
34
|
#
|
|
35
|
-
rad.http.stack
|
|
35
|
+
rad.http.stack.push(-> builder {
|
|
36
36
|
# CommonLogger, ShowExceptions, Lint
|
|
37
37
|
builder.use Rack::Lint if rad.development?
|
|
38
38
|
# builder.use Rad::Middleware::StaticFiles if rad.http.static? and rad.http.public_path? and rad.development?
|
|
@@ -42,4 +42,4 @@ rad.http.stack << labmda do |builder|
|
|
|
42
42
|
|
|
43
43
|
# builder.use Rack::CommonLogger
|
|
44
44
|
builder.use Rack::MethodOverride
|
|
45
|
-
|
|
45
|
+
})
|