Skip to content

Commit

Permalink
Require only where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bklang committed Aug 13, 2015
1 parent e9038ca commit 97e06d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/adhearsion-i18n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
%w{
version
plugin
formatter
call_controller_methods
}.each { |r| require "adhearsion-i18n/#{r}" }

Expand Down
1 change: 1 addition & 0 deletions lib/adhearsion-i18n/call_controller_methods.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# encoding: utf-8
require 'adhearsion-i18n/formatter'

module AdhearsionI18n::CallControllerMethods
def t(key, options = {})
Expand Down

0 comments on commit 97e06d8

Please sign in to comment.