help me correct this wrongly syntaxed form_with block

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

help me correct this wrongly syntaxed form_with block

fugee ohu
The problem I was having is params press_release was missing This is an attempt at adding it that draws a sytax error
<%= form_with model: @press_release, url: create_user_tour_press_release_path(press_release: { tour_id: @tour.id, artist_id: @artist.id, poster_type: 'User' }) do |f| %>

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7d949b7d-fb81-4482-ad56-3b0e39e60e1e%40googlegroups.com.