diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-11-05 19:09:05 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-11-05 19:09:05 +0000 |
commit | e438523e785b8f1c772b4a6a594fc1c3cacd5e76 (patch) | |
tree | 4bd54a527d11c9b5f28c707544b28569a8b46a5e /app/controllers/wikis_controller.rb | |
parent | 4c51d637616af48169d55970138f98e9db3a707d (diff) | |
download | redmine-e438523e785b8f1c772b4a6a594fc1c3cacd5e76.tar.gz redmine-e438523e785b8f1c772b4a6a594fc1c3cacd5e76.zip |
remove unused WikisController#edit (#26579)
git-svn-id: http://svn.redmine.org/redmine/trunk@17018 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/wikis_controller.rb')
-rw-r--r-- | app/controllers/wikis_controller.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/wikis_controller.rb b/app/controllers/wikis_controller.rb index c61c2f946..2c6a9a7ac 100644 --- a/app/controllers/wikis_controller.rb +++ b/app/controllers/wikis_controller.rb @@ -19,13 +19,6 @@ class WikisController < ApplicationController menu_item :settings before_action :find_project, :authorize - # Create or update a project's wiki - def edit - @wiki = @project.wiki || Wiki.new(:project => @project) - @wiki.safe_attributes = params[:wiki] - @wiki.save if request.post? - end - # Delete a project's wiki def destroy if request.post? && params[:confirm] && @project.wiki |