Skip to content

Instantly share code, notes, and snippets.

def create
@app = App.new(params[:app])
@app.original = params[:app]
respond_to do |format|
if @app.save
format.html { redirect_to(done_path(@app.member.id), :notice => 'Application was successfully created.') }
else
format.html { render :action => "new" }
end
end