daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #create template
  2. <% form_remote_for(@post, :url => posts_path) do |f| %>
  3.   <%= render :partial => 'form', :locals => {:button_text => 'Create', :f => f} %>
  4. <% end %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top