Merged new_system action into create_system
This commit is contained in:
parent
88e52ab5a9
commit
83c6eadc0c
6 changed files with 35 additions and 28 deletions
|
@ -10,7 +10,7 @@ class WikiController < ApplicationController
|
|||
if @web_name
|
||||
redirect_show 'HomePage'
|
||||
elsif not @wiki.setup?
|
||||
redirect_to :action => 'new_system'
|
||||
redirect_to :controller => 'admin', :action => 'create_system'
|
||||
elsif @wiki.webs.length == 1
|
||||
redirect_show 'HomePage', @wiki.webs.values.first.address
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue