Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def update
- if @post.update_attributes(params[:post])
- flash[:notice] = 'Customer was successfully updated.'
- redirect_to :action => "show", :id => @customer._id, sid: @customer.accounts.first.site._id if @customer.accounts.count > 0
- end
- end
Add Comment
Please, Sign In to add comment