aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/helpers.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2012-10-17 10:19:31 -0300
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2012-10-17 10:19:31 -0300
commit759e797c1d677d0695885dc959d6ebaecc538252 (patch)
tree845bb9b6579cc4d5175b31acf0bbfd30c2fd7f77 /guides/rails_guides/helpers.rb
parent9eeb00976d4b0a963c58117b46b7a5c6edcacc31 (diff)
downloadrails-759e797c1d677d0695885dc959d6ebaecc538252.tar.gz
rails-759e797c1d677d0695885dc959d6ebaecc538252.tar.bz2
rails-759e797c1d677d0695885dc959d6ebaecc538252.zip
Revert "Change with start of translation in internationalization, this time with pt_br."
This reverts commit 09682e9e7328b1c1466ae87af08f1785a0b5d7e3. Conflicts: guides/source/en/association_basics.md REASON: Translation work can not be done in the docrails repository
Diffstat (limited to 'guides/rails_guides/helpers.rb')
-rw-r--r--guides/rails_guides/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/helpers.rb b/guides/rails_guides/helpers.rb
index 8d246d1700..a288d0f0f4 100644
--- a/guides/rails_guides/helpers.rb
+++ b/guides/rails_guides/helpers.rb
@@ -13,7 +13,7 @@ module RailsGuides
end
def documents_by_section
- @documents_by_section ||= YAML.load_file(File.expand_path("../../source/#{$GUIDES_LANGUAGE}/documents.yaml", __FILE__))
+ @documents_by_section ||= YAML.load_file(File.expand_path('../../source/documents.yaml', __FILE__))
end
def documents_flat