Merge pull request #458 from bhollis/i18n
Cannot access I18n from helpers anymore
This commit is contained in:
commit
ba9e24cde9
2 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ module Middleman
|
|||
|
||||
Middleman::Extensions.register(:i18n) do
|
||||
require "middleman-more/core_extensions/i18n"
|
||||
Middleman::CoreExtensions::I18n
|
||||
Middleman::CoreExtensions::Internationalization
|
||||
end
|
||||
|
||||
# Compass framework
|
||||
|
@ -118,4 +118,4 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
Middleman::Application.register Middleman::More
|
||||
Middleman::Application.register Middleman::More
|
||||
|
|
|
@ -2,7 +2,7 @@ module Middleman
|
|||
module CoreExtensions
|
||||
|
||||
# i18n Namespace
|
||||
module I18n
|
||||
module Internationalization
|
||||
|
||||
# Setup extension
|
||||
class << self
|
||||
|
@ -120,4 +120,4 @@ module Middleman
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue