mardi 29 septembre 2015

Actions in InheritedResources::Base

Due to scaffolding I get

class CommentsController < InheritedResources::Base

In it not a single action shown. But when I add

resources :comments

in routes and url

http://localhost:3000/comments/13

it work properly but I can't understand from where this action inherit. I want to custom that action. Is it possible?

Aucun commentaire:

Enregistrer un commentaire