Revert last change!
This commit is contained in:
parent
88000daa36
commit
d53adbd041
|
@ -1,8 +1,7 @@
|
||||||
require "yaml"
|
require "yaml"
|
||||||
module EventNewsMod
|
module EventNewsMod
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
ModuleApp.where(:key=>'event_news').update_all(:key=>'event_news_mod')
|
initializer "event_news" do
|
||||||
initializer "event_news_mod" do
|
|
||||||
begin
|
begin
|
||||||
translate_data = Dir["#{EventNewsMod::Engine.root}/config/locales/*.yml"] .map{|yaml_file| YAML.load(File.read(yaml_file))}
|
translate_data = Dir["#{EventNewsMod::Engine.root}/config/locales/*.yml"] .map{|yaml_file| YAML.load(File.read(yaml_file))}
|
||||||
data = {}
|
data = {}
|
||||||
|
|
Loading…
Reference in New Issue