No, you never need to return a ***ScaffoldController, you can name your
controllers as you want. "#{klass}ScaffoldController".constantize is just an
example.
El Jueves, 13 de marzo de 2014 20:09:05 Markus C escribió:
> Hi. I tried to override active_scaffold_controller_for in my Admin::
> controllers according to the following document:
>
> https://github.com/activescaffold/active_scaffold/wiki/API%3A-Core#active_sc
> affold_controller_for-override-method
>
> I am a bit confused as to why I can just return my controller class (e.g.
> Admin::OrderQuestionsController), while for the general case one need to
> return a ***ScaffoldController? When should the extra "Scaffold" be present
> in the controller name?
>
> Thanks a lot
>
> Mark
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.