开发者

merb callbacks equivalent in RAILS

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜