AS 2.1

All,

I'm working on an app. where I am (by degrees) converting all of the 
administrative views over to ActiveScaffold.

One thing that I am running into, is that I need the "list" columns to 
be different depending on whether I am fielding an HTML request or a 
JSON request.

Obviously, I can manipulate active_scaffold_config.list.columns 
appropriately in an overridden "index" method and then call "super" to 
get the rendering to happen.

Is this the best way to go, or is there any support built in for 
format-specific column specifications?

Thanks,
Wes

--~--~---------~--~----~------------~-------~--~----~
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