rad_core 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
+
})
|