1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Set :wiki menu_item for WikisController#destroy (#35610).

This action is executed inside the project wiki scope after r16916,
thus we can better set the menu_item accordingly.

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21088 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2021-07-26 21:28:36 +00:00
parent ad9526ed27
commit 05452a7b9a

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class WikisController < ApplicationController
menu_item :settings
menu_item :wiki
before_action :find_project, :authorize
# Delete a project's wiki