use instance hooks provided by hooks instead of changing the gem’s source

This commit is contained in:
Nico Hagenburger 2014-02-02 11:12:57 +01:00
parent 247a152d39
commit 2ad91339bb
4 changed files with 9 additions and 7 deletions

View file

@ -151,7 +151,7 @@ module Middleman
run_hook :build_config
config_context.execute_configure_callbacks(:build)
end
if development?
run_hook :development_config
config_context.execute_configure_callbacks(:development)