RE: Controller Naming Question

Hey Chris,

You can define an index method which will be used as the default? Or
you can make your index action reference another action (which is
probably cleaner).

Just wondering, but why are you looking to do this exactly? What’s
wrong with the URL as it is?

Brian C.

I am trying to port an existing site with an existing url structure that
we would like to keep.

It would be a lot cleaner too.

Chris

Brian C. wrote:

Hey Chris,

You can define an index method which will be used as the default? Or
you can make your index action reference another action (which is
probably cleaner).

Just wondering, but why are you looking to do this exactly? What’s
wrong with the URL as it is?

Brian C.

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