Merged new_system action into create_system

This commit is contained in:
Alexey Verkhovsky 2005-01-28 02:35:59 +00:00
parent 88e52ab5a9
commit 83c6eadc0c
6 changed files with 35 additions and 28 deletions

View file

@ -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