Doesn't running the scaffold command put the route in the routes file for you?
On Tuesday, September 12, 2017 at 10:15:07 AM UTC-4, Joe Guerra wrote: > > RIght, I tried resources galleries, resources gallerys > > But all come up with other errors. My post controller and views work, > this gallery controller seems to look the same? (I don't get it). > > Thanks, > Joe > > On Tuesday, September 12, 2017 at 3:45:29 AM UTC-4, Norbert Melzer wrote: >> >> Am 12.09.2017 um 03:15 schrieb Joe Guerra: >> > get resources :gallery >> You do have this in your routesfile literally? Seems invalid for me. >> >> Also As far as I can remember the convention, `resources` needs the >> plural name, not the singular name. But I haven't used rails since about >> 3.x-ish. >> >> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/18f36596-cd88-4de8-9d15-f13e2b4a65c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.