Merge pull request #7094 from opf/fix/29625-Forum-page-shows-boards-submenu

[29625] Forum page shows boards submenu 

[ci skip]
pull/7102/head
Oliver Günther 6 years ago committed by GitHub
commit 7a06137ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/controllers/boards_controller.rb
  2. 4
      modules/boards/app/controllers/boards/boards_controller.rb

@ -50,6 +50,10 @@ class BoardsController < ApplicationController
end
end
current_menu_item [:index, :show] do
:boards
end
def show
sort_init 'updated_on', 'desc'
sort_update 'created_on' => "#{Message.table_name}.created_on",

@ -19,6 +19,10 @@ module ::Boards
render layout: 'angular'
end
current_menu_item :index do
:board_view
end
private
def pass_gon

Loading…
Cancel
Save