Commit 4477196e61bcd645be70f064263010cd0fe5c8e0

Authored by Karpikau Andrei
1 parent 989d0f8c

check helpers

... ... @@ -4,6 +4,8 @@ module Kanjai
4 4
5 5 #protect_from_forgery
6 6
  7 + helper :all
  8 +
7 9 before_action :define_locale
8 10 before_action :get_page
9 11
... ...
... ... @@ -13,11 +13,6 @@ module Kanjai
13 13 end
14 14 end
15 15
16   - config.before_initialize do
17   - ActiveSupport.on_load :action_controller do
18   - helper Kanjai::Engine.helpers
19   - end
20   - end
21 16
22 17 initializer "kanjai.assets.precompile" do |app|
23 18 app.config.assets.precompile += %w(kanjai/general.css kanjai/general_admin.css kanjai/general_site.css kanjai/general_site_editor.css kanjai/frontend.css kanjai/frontend_extend.css kanjai/general.js kanjai/general_admin.js kanjai/general_site_editor.js kanjai/frontend.js kanjai/frontend_not_login.js kanjai/frontend_extend)
... ...
1 1 module Kanjai
2   - VERSION = "0.0.96"
  2 + VERSION = "0.0.97"
3 3 end
... ...