I thought he meant as in if you look at the show.rb in actions, it has the
do_show method that responds to certain formats.  As in is there an easy way
to make all of those respond_to's respond to a new format

On Mon, Apr 20, 2009 at 2:27 AM, Sergio Cambra .:: entreCables S.L. ::. <
[email protected]> wrote:

>
> El Friday 17 April 2009 17:45:42 Wes Gamble escribió:
> > All,
> >
> > I am implementing a custom set of views for my application by using the
> > params[:format]/respond_to functionality to render particular views when
> > params[:format] is "desktop".
> >
> > Of course, AS doesn't know from "desktop" formats.
> >
> > Is there a standard way that I can add "desktop" to the list of valid
> > formats, or will I have to hack/modify the appropriate actions in AS to
> > allow for rendering to this new format in the appropriate respond_to
> > blocks?
> >
> > The higher level question here, is whether there is a hook into AS at
> > the point between action processing and rendering where I can effect
> > some change?
>
> I think it's more a rails issue, you should add a new mime to rails:
> Mime::Type.register "your_desktop_mime", :desktop
>
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]
>
> >
>

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