class Konmari::Routes::FilenameError
Raised when a filename does not have the correct extension, or the first detected line of code does not match the filename
Eg:
# routes/thing/hello.route resource :world
would raise this error for two reasons:
-
The extension should be
.routes
-
The filename should be
world.routes
or the resource should be:hello