rosa-build/app/controllers/pages_controller.rb

23 lines
525 B
Ruby
Raw Normal View History

# -*- encoding : utf-8 -*-
class PagesController < ApplicationController
2012-05-11 18:58:51 +01:00
def tour_inside
2012-05-15 16:30:59 +01:00
@entries = case params[:id]
when 'builds'
2012-05-15 16:30:59 +01:00
%w(repo builds monitoring)
when 'sources'
%w(source history annotation edit)
when 'projects'
2012-05-15 16:30:59 +01:00
%w(control git tracker)
end
render "pages/tour/tour-inside", :layout => 'tour'
end
def forbidden
end
2012-03-31 14:18:22 +01:00
def tos
end
end