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