Rails engines extending functionality

前端 未结 6 758
夕颜
夕颜 2020-12-01 06:50

I have an engine which defines some models and controllers. I want to be able to extend functionality of some models/controllers in my application (eg. adding methods) witho

6条回答
  •  一生所求
    2020-12-01 07:40

    I've never used Engines before but can't you define a new controller that inherits from the controller provided by the engine

提交回复
热议问题