middleman/middleman-core/fixtures/padrino-helpers-app/config.rb
Ben Hollis 441ec95065 Gracefully handle syntax (and other) errors when reloading config.rb.
With this change, config.rb modifications that result in an error will print the error to the logs but will not kill the server - the previous version of the application will still be running just fine, so that you can try and fix your config.rb without having to restart. The server no longer simply hangs with no message, which was the previous behavior. This fixes #702.
2013-10-19 19:39:10 -07:00

7 lines
78 B
Ruby

helpers do
def title
content_tag :h1 do
"Title"
end
end
end