开发者

Where should custom Responders go in a Rails project?

I need to implement a custom Responder under "Module Responders", however, I am not sure where 开发者_JS百科such code should live?


This is typically what the lib directory is for.

Just be sure to update your config/application.rb file to include lib in autoload_paths.


I usually drop them in app/responders

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜