This is really more of a Rails question than a CE question ... I suggest posting on the Rails list: http://lists.rubyonrails.org/mailman/listinfo/rails
Thanks, Bruno On Fri, May 1, 2009 at 9:46 PM, LostyJai <[email protected]> wrote: > > Hi, > > I understand that when you scaffold a new 'section', it will create > the controller with the actions (index, new, create, edit, show and > destroy). How do I go about setting up my own action? > > Say my site allows anonymous users to upload photos (www.site.com/ > photos/new), and anyone can view these photos (www.site.com/photos/ > #id). They can also download these photos (www.site.com/photos/#id/ > download), how do I create the 'download' action? I also want to keep > a record of how many times the photo has been downloaded... > > Cheers > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
