diff --git a/app/controllers/entries_controller.rb b/app/controllers/entries_controller.rb index 6bea0ee..47afa62 100644 --- a/app/controllers/entries_controller.rb +++ b/app/controllers/entries_controller.rb @@ -28,7 +28,7 @@ def destroy private def set_entry - @entry = policy_scope(Entry).find params[:id] + @entry = Entry.find params[:id] authorize @entry end