[refs #630] swap tour conten for porject and build pages

This commit is contained in:
Vladimir Sharshov 2012-09-04 18:30:02 +04:00
parent ff20c0b199
commit ec32cf7fa0
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ class PagesController < ApplicationController
def tour_inside def tour_inside
@entries = case params[:id] @entries = case params[:id]
when 'projects' when 'builds'
%w(repo builds monitoring) %w(repo builds monitoring)
when 'sources' when 'sources'
%w(source history annotation edit) %w(source history annotation edit)
when 'builds' when 'projects'
%w(control git tracker) %w(control git tracker)
end end
render "pages/tour/tour-inside", :layout => 'tour' render "pages/tour/tour-inside", :layout => 'tour'