Wiki pages page
This commit is contained in:
parent
8ffb6126a9
commit
839757598b
5 changed files with 32 additions and 2 deletions
|
@ -6,6 +6,10 @@ class WikisController < ApplicationController
|
|||
before_filter :authorize_admin_wiki!, :only => :destroy
|
||||
layout "project"
|
||||
|
||||
def pages
|
||||
@wikis = @project.wikis.group(:slug).order("created_at")
|
||||
end
|
||||
|
||||
def show
|
||||
if params[:old_page_id]
|
||||
@wiki = @project.wikis.find(params[:old_page_id])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue