This website requires JavaScript.
Explore
Help
Sign in
deac
/
middleman
Watch
1
Star
0
Fork
You've already forked middleman
0
Code
Issues
Pull requests
Releases
Wiki
Activity
d7fd48ef7d
middleman
/
middleman-core
/
fixtures
/
padrino-helpers-app
/
config.rb
8 lines
78 B
Ruby
Raw
Normal View
History
Unescape
Escape
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-20 04:39:10 +02:00
helpers
do
def
title
content_tag
:h1
do
"
Title
"
end
end
end
Reference in a new issue
Copy permalink