lib/lumber/server.rb in lumber-0.11.0 vs lib/lumber/server.rb in lumber-0.11.1
- old
+ new
@@ -41,11 +41,11 @@
if @error
@levels = levels
@ttl = ttl
erb :levels
else
+ LevelUtil.ttl = ttl.to_i if ttl
LevelUtil.set_levels(levels)
- LevelUtil.ttl = ttl
redirect url(:levels)
end
end