translation_rails 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -56,4 +56,10 @@ To migrate translations from TranslationCenter database to yaml files
56
56
  rake translation_center:db2yaml
57
57
  ```
58
58
 
59
+ Add this line to your app layouts(after javascript_include_tag)
60
+
61
+ ```ruby
62
+ yield :head
63
+ ```
64
+
59
65
  Visit translation_center: http://localhost:port/translation_center
@@ -13,7 +13,7 @@ module ActiveSupport
13
13
  require_or_load_without_translation_rails(file_name, const_path)
14
14
  if file_name.starts_with?(Rails.root.to_s + '/app')
15
15
  relative_name = file_name.gsub(Rails.root.to_s, '')
16
- engine_file = File.join(TranslationRails::Engine.root, relative_name)
16
+ engine_file = File.join(::TranslationRails::Engine.root, relative_name)
17
17
  require_or_load_without_translation_rails(engine_file, const_path) if File.file?(engine_file)
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module TranslationRails
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translation_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: