REVIEW: the wiki partial got removed in favor of the wiki_tabs feature. for now, just render nothing

pull/1186/head
Martin Linkhorst 12 years ago
parent eb3c743c59
commit 28ae758d6b
  1. 4
      app/controllers/wikis_controller.rb

@ -21,7 +21,9 @@ class WikisController < ApplicationController
@wiki = @project.wiki || Wiki.new(:project => @project)
@wiki.safe_attributes = params[:wiki]
@wiki.save if request.post?
render(:update) {|page| page.replace_html "tab-content-wiki", :partial => 'projects/settings/wiki'}
# there's is no wiki anymore, see: opf/openproject/master#e375875
# render(:update) {|page| page.replace_html "tab-content-wiki", :partial => 'projects/settings/wiki'}
render :nothing => true
end
# Delete a project's wiki

Loading…
Cancel
Save