Skip to content

Commit

Permalink
Halcyon::Config#use expects a block, passed block as normal param ins…
Browse files Browse the repository at this point in the history
…tead. Fixed.
  • Loading branch information
mtodd committed Jun 20, 2008
1 parent 765a9ce commit eeafb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/halcyon/application.rb
Expand Up @@ -231,7 +231,7 @@ def boot(&block)
end

# Yield to the block to handle boot configuration (and other tasks).
Halcyon.config.use(block) if block_given?
Halcyon.config.use(&block) if block_given?

# Setup logger
if Halcyon.config[:logger]
Expand Down

0 comments on commit eeafb9b

Please sign in to comment.