Rails plugin generator

Thanks for figuring this out, @neounix! Maybe this will be the leg up that I need to get my project moving forward.

Hey @j.jaffeux, is moving those files the Recommended Solution, or should they be included with something like

  load File.expand_path('some-path-here', __dir__) 

I think that I tried including them , but then got some error about a missing. . . something (so I presume I did the wrong thing and it’s not worth documenting exactly).

EDIT: It looks to me like the controller does indeed get loaded/run when hitting /plugin-path.

3 לייקים