Error when generating controller - create Radiant Extension

When I run this command:

script/generate extension_controller LinkRoll admin/links

Error returned:

The name ‘admin’ is reserved by Ruby on Rails.
Please choose an alternative and run this generator again.

I know ‘Admin’ is a reserved Rails keywords.

How to do?

Please choose an alternative and run this generator again.

I’d suggest doing just that…

I ran into this problem yesterday, but basically got around it by
using routes to put it in a namespace. Does anyone else have a better
solution? I know I can always craft the namespace by hand, but it
just seems wrong. :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs