Make i18n a normal extension with options

This commit is contained in:
Thomas Reynolds 2012-05-24 16:51:36 -07:00
parent 64f84bacd2
commit d79acc7a78
8 changed files with 47 additions and 59 deletions

View file

@ -100,9 +100,6 @@ module Middleman
# @param [Symbol, Module] ext Which extension to activate
# @return [void]
def activate(ext, options={}, &block)
# Make :i18n a no-op
return if ext == :i18n
ext_module = if ext.is_a?(Module)
ext
else