Skip to content

Commit

Permalink
fix deleting averages
Browse files Browse the repository at this point in the history
  • Loading branch information
justinj committed May 26, 2017
1 parent 8e769a2 commit 8ca6137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/average.rb
Expand Up @@ -40,7 +40,7 @@
erb :delete_confirm
end

get "/average/delete_confirm/:id" do
post "/average/delete_confirm/:id" do
authenticate!
@average = RCDB::Average.first(id: params[:id])
@average.destroy
Expand Down

0 comments on commit 8ca6137

Please sign in to comment.