Add comments to Wiki pages

This commit is contained in:
Ian Morgan 2012-07-19 20:09:19 -04:00
parent 652d28f56b
commit 36efa2042c
10 changed files with 72 additions and 1 deletions

View file

@ -17,6 +17,8 @@ class WikisController < ApplicationController
return render_404 unless can?(current_user, :write_wiki, @project)
end
@note = @project.notes.new(:noteable => @wiki)
respond_to do |format|
if @wiki
format.html