On Thu, 24 Nov 2011 15:02:25 -0800 (PST), slava
<[email protected]> wrote:
> Hello,
> Can I define an embedded scaffold that specifies a custom config like
> what actions it will show
> 
> something like this.. ?
> 
> <%= render :active_scaffold => "dummy",
>                :config => {:actions => [:list]}
>     %>

No, you will have to use before_filter in the scaffolded controller.
You can set :params in the embedded scaffold and use them in the filter.

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to