mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-15 16:56:32 +01:00
Merge pull request #1888 from C-Otto/tracks-1882
navigate back to note's project after deletion
This commit is contained in:
commit
486204c1d7
2 changed files with 10 additions and 2 deletions
|
|
@ -56,6 +56,7 @@ class NotesController < ApplicationController
|
|||
def destroy
|
||||
@note = current_user.notes.find(params['id'])
|
||||
@note.destroy
|
||||
set_source_view
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue