Highlight correct menu item

pull/7972/head
Henriette Dinger 5 years ago
parent 2d7e3db821
commit 1a443e0d30
  1. 2
      app/controllers/messages_controller.rb

@ -29,7 +29,7 @@
#++ #++
class MessagesController < ApplicationController class MessagesController < ApplicationController
menu_item :boards menu_item :forums
default_search_scope :messages default_search_scope :messages
model_object Message, scope: Forum model_object Message, scope: Forum
before_action :find_object_and_scope before_action :find_object_and_scope

Loading…
Cancel
Save