class SwitchMessageController < ApplicationController
active_scaffold :SwitchMessage do |cfg|
cfg.actions.exclude :create,:update,delete
end
end
On Jan 6, 9:11 am, "mr.gaffo" <[email protected]> wrote:
> Post your controller please.
>
> On Jan 5, 12:55 pm, EricTheGreen <[email protected]> wrote:
>
> > Hi all:
>
> > Relatively new to AS and am having an issue with excluding the :create
> > action from my scaffolds--specifically, I'm getting a RuntimeError
> > with the message 'Create is not enabled. Please enable it or remove
> > any references in your configuration."
>
> > I'm not specifically tweaking anything in my config related to
> > create. Do I need to explicitly nil out something?
>
> > Thanks in advance for any help,
>
> > ~ E ~
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---