I am unfamiliar with rails and restful design, please guide me.
let’s say I generated a scaffold_resource for the model User
so now when I click on users/show/1 i get details of the User model,
etc… the standard show, index, destroy methods are working.
However let say i need to have a users/1/welcome
which will display some info about the user of id 1 but its a
different page layout as that with show.rhtml.
How can i make this to be restful ? I can have a welcome method inside
the user controller and a welcome.rhtml, however when i run rake
routes > routes.txt i see that my welcome methods are not using the
verbs GET or POST.