Add missing ‚edit’ route for @forum setup

pull/7171/head
Henriette Dinger 6 years ago
parent 96ed0ddaa5
commit 39cbfd5e87
  1. 2
      app/controllers/forums_controller.rb

@ -32,7 +32,7 @@ class ForumsController < ApplicationController
before_action :find_project_by_project_id,
:authorize
before_action :new_forum, only: %i[new create]
before_action :find_forum, only: %i[show update move destroy]
before_action :find_forum, only: %i[show edit update move destroy]
accept_key_auth :index, :show
include SortHelper

Loading…
Cancel
Save