Added separate destroy view
This commit is contained in:
@@ -42,8 +42,6 @@ class MeasurementsController < ApplicationController
|
||||
if @measurement.destroy
|
||||
flash[:notice] = 'Deleted measurement'
|
||||
end
|
||||
prepare_measurements
|
||||
render :index
|
||||
end
|
||||
|
||||
def retake
|
||||
|
||||
Reference in New Issue
Block a user