twwright/notenice

URGENT! Non-logged in user can copy note

Closed this issue · 1 comments

When a non-logged in user copies a note, it creates a new note with no user_id it still saves to the DB. Causes error in /notes/index route.

Resolved w/ conditional check for logged_in? in notes/copy/:id route