Skip to content

Commit

Permalink
ws error
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Feb 18, 2010
1 parent 66abeb6 commit aa17c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -142,9 +142,9 @@ you could add `set :author, 'John Galt'` inside the `Toto::Server.new` block. He
set :summary, :max => 150, :delim => /~\n/ # length of article summary and delimiter
set :ext, 'txt' # file extension for articles
set :cache, 28800 # cache site for 8 hours
set :to_html, lambda {|path, page, ctx| # returns an html, from a path & context
set :to_html do |path, page, ctx| # returns an html, from a path & context
ERB.new(File.read("#{path}/#{page}.rhtml")).result(ctx)
}
end

thanks
------
Expand Down

0 comments on commit aa17c26

Please sign in to comment.