Change wiki-parser again. Now wikitext is used.
This commit is contained in:
parent
eddf20b063
commit
434fc4b2ff
6 changed files with 43 additions and 30 deletions
|
|
@ -20,7 +20,7 @@ class PagesController < ApplicationController
|
|||
|
||||
def new
|
||||
@page = Page.new
|
||||
@page.title = params[:title].capitalize.gsub("-", " ") if params[:title]
|
||||
@page.title = params[:title].gsub("_", " ") if params[:title]
|
||||
|
||||
respond_to do |format|
|
||||
format.html # new.html.erb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue