can update co-author relation
This commit is contained in:
		
							parent
							
								
									9b4a07a2b0
								
							
						
					
					
						commit
						b4082a2d60
					
				|  | @ -10,6 +10,9 @@ class Desktop::CoAuthorRelationsController < ApplicationController | |||
| 
 | ||||
|   def edit | ||||
|     @co_author_relation = CoAuthorRelation.find(params[:id]) | ||||
|     respond_to do |format| | ||||
|       format.html { render :layout => false} | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
|   def new | ||||
|  |  | |||
|  | @ -1,3 +1,3 @@ | |||
| <%= form_for(@co_author_relations, url: desktop_co_author_relation_path(@co_author_relations), html:{"form-type"=>"ajax_form", "callback-method"=>"coauthorRelationForm"} ) do |f| %> | ||||
| <%= form_for(@co_author_relation, url: desktop_co_author_relation_path(@co_author_relation), html:{"form-type"=>"ajax_form", "callback-method"=>"coauthorRelationForm"} ) do |f| %> | ||||
|   <%= render partial: 'desktop/co_author_relations/form' , locals: {:f => f}%> | ||||
| <% end %> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue