end
def new
- @author = Author.new
- @author.supply_default
-
- respond_to do |format|
- format.html
- format.js
- format.json { render json: @au.to_json(Author.show_json_opt) }
- end
+ form_new
end
-
+
def edit
- @author = Author.edit(params[:id], @operators)
+ form_edit
end
-
+
def create
@author = Author.new()
@author.supply_default