Skip to content

Commit

Permalink
block instead of lambda, in config
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Feb 22, 2010
1 parent baca7f8 commit 00b5780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.ru
Expand Up @@ -14,7 +14,9 @@ toto = Toto::Server.new do
# Add your settings here
# set [:setting], [value]
#
set :date, lambda {|now| now.strftime("%B #{now.day.ordinal} %Y") }
set :date do |now|
now.strftime("%B #{now.day.ordinal} %Y")
end
set :url, "http://cloudhead.io"
set :root, 'home'
set :title, 'cloudhead.io'
Expand Down

0 comments on commit 00b5780

Please sign in to comment.