Permalink
Browse files

🐞 Fix notes page in Admin area

  • Loading branch information...
adamdawkins committed Jan 23, 2019
1 parent 52f1e1e commit f229993f77a0be83cb51d7e50f088808877d14c5
Showing with 4 additions and 0 deletions.
  1. +4 βˆ’0 app/controllers/adam/notes_controller.rb
@@ -18,6 +18,10 @@ def show
set_note
end

def index
@notes = Note.all
end

def publish
set_note
if @note.publish!

0 comments on commit f229993

Please sign in to comment.