Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 206
- Log:
Initial import of Gullery, an open source photo gallery:
http://nubyonrails.com/pages/gullery
- Author:
- rool
- Date:
- Sun May 20 19:05:59 +0100 2007
- Size:
- 522 Bytes
1 | # Methods added to this helper will be available to all templates in the application. |
2 | module ApplicationHelper |
3 | |
4 | def show_page_title |
5 | !@user.nil? && !@user.company.blank? ? @user.company : 'gullery photo gallery' |
6 | end |
7 | |
8 | def show_page_nav |
9 | user = User.find_first |
10 | return 'gullery photo gallery' if user.nil? |
11 | nav = link_to(user.company, :controller => '/') |
12 | nav += ' ' + content_tag(:small, link_to((@project.name), projects_url(:action => 'show', :id => @project))) if @project |
13 | nav |
14 | end |
15 | |
16 | |
17 | end |