How to define action with simple form for?

Is there a reason you’re not using REST for this? It would make your life a lot easier and requires much less code. If you’re set on using this custom action, you will need to specify the url and probably the method:

<%= simple_form_for @photographer, :url => savenew_photographers_path, :method => :post ... # etc

Leave a Comment