Skip to content
Snippets Groups Projects
Commit f251e0d7 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

fixing learning object edit form action

parent 46177348
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
<% content_for :learning_object_studio_content do %>
<h3 class="head text-center">Edite as informações do seu conteúdo!</h3>
<%= form_for(@learning_object, url: {controller: :learning_objects}, html: {method: :put}) do |f|
<%= form_for(@learning_object, url: learning_object_path(@learning_object), html: {method: :put}) do |f|
render 'form', f: f
end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment