chore(announces): main navigation across announces

This commit is contained in:
Colin Darie 2023-10-30 15:37:04 +01:00
parent e49436aa5d
commit 178458215c
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
9 changed files with 57 additions and 19 deletions

View file

@ -2,6 +2,10 @@ class SuperAdmins::ReleaseNotesController < ApplicationController
before_action :authenticate_super_admin!
before_action :set_note, only: [:edit, :update, :destroy]
def nav_bar_profile
:superadmin
end
def index
@release_notes = ReleaseNote
.order(released_on: :desc, id: :asc)