Delete stuff in report view
This commit is contained in:
parent
644969c613
commit
50e853098b
16 changed files with 64 additions and 31 deletions
|
|
@ -44,7 +44,7 @@ class PagesController < ApplicationController
|
|||
# DELETE /pages/1
|
||||
def destroy
|
||||
@page.destroy!
|
||||
redirect_to report_pages_url(@page.report), notice: "Page was successfully destroyed.", status: :see_other
|
||||
redirect_to report_url(@page.report), notice: "Page was successfully destroyed.", status: :see_other
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue