Rails plugin generator

Hi @j.jaffeux

Thanks!

That was it.

I assume that is a Rails convention I need to learn? Where all routes defined with underscores are accessed with dashes?

DiscourseRacoon::Engine.routes.draw do
  get "/" => "discourse_racoon#index", constraints: DiscourseRacoonConstraint.new
  get "/actions" => "actions#index", constraints: DiscourseRacoonConstraint.new
  get "/actions/:id" => "actions#show", constraints: DiscourseRacoonConstraint.new
end
1 Like