Class: BoardController
Instance Method Summary
collapse
#apply_transition, #successor_statuses, #transition_allowed?
#footer_menu, #home_page
Instance Method Details
#index ⇒ Object
4
5
6
7
8
|
# File 'app/controllers/board_controller.rb', line 4
def index
if (! ProjectInfo.exists?(1))
redirect_to :controller => 'project_infos', :action => 'new'
end
end
|
#page_title ⇒ Object
10
11
12
13
14
|
# File 'app/controllers/board_controller.rb', line 10
def page_title
if ('index' == action_name())
"In Play, iteration #{ProjectInfo.find(1).current_iteration.to_s}"
end
end
|