开发者

merb callbacks equivalent in RAILS

开发者 https://www.devze.com 2022-12-10 10:29 出处:网络
Is there rails equivalents for : Merb::BootLoader.after_app_loads Merb::BootLoader.before_app_loads Merb::Assets::JavascriptAssetBundler.add_callback

Is there rails equivalents for :

Merb::BootLoader.after_app_loads
Merb::BootLoader.before_app_loads

Merb::Assets::JavascriptAssetBundler.add_callback
Merb::Assets::StylesheetAssetBundler.ad开发者_运维技巧d_callback

Thanks,


  • before_app_loads: i guess preinitializer.rb is what you are after.
  • after_app_loads: is this how to use an after-initializer callback

About the other, i am not sure.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号