2012-03-31 00:37:54 +01:00
|
|
|
class PagesController < ApplicationController
|
2015-04-15 11:29:25 +01:00
|
|
|
skip_after_action :verify_authorized
|
2012-05-11 18:58:51 +01:00
|
|
|
|
|
|
|
def tour_inside
|
2012-05-15 16:30:59 +01:00
|
|
|
@entries = case params[:id]
|
2012-09-04 15:30:02 +01:00
|
|
|
when 'builds'
|
2012-05-15 16:30:59 +01:00
|
|
|
%w(repo builds monitoring)
|
|
|
|
when 'sources'
|
|
|
|
%w(source history annotation edit)
|
2012-09-04 15:30:02 +01:00
|
|
|
when 'projects'
|
2012-05-15 16:30:59 +01:00
|
|
|
%w(control git tracker)
|
|
|
|
end
|
2014-11-13 23:48:45 +00:00
|
|
|
render "pages/tour/tour-inside"
|
2012-03-31 00:37:54 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def forbidden
|
|
|
|
end
|
2012-03-31 14:18:22 +01:00
|
|
|
|
|
|
|
def tos
|
|
|
|
end
|
2012-07-20 17:06:31 +01:00
|
|
|
|
2012-03-31 00:37:54 +01:00
|
|
|
end
|