Adding breadcrumb support:
authorMarius Mathiesen <marius.mathiesen@gmail.com>
Wed, 28 Jan 2009 11:56:02 +0000 (12:56 +0100)
committerJohan Sørensen <johan@johansorensen.com>
Wed, 22 Apr 2009 10:55:01 +0000 (12:55 +0200)
commit0cf56856198180a5b36f15ca081efaafab49f704
treedabaee53a8ed502a7663fddd6e704460cc594417
parentaa6dfee81e8cb3f45bfe319a6e0388b4cac8e92b
Adding breadcrumb support:
- Adding a Breadcrumb module w/specs
- Setting a root in LogsController
- Setting a root in TreesController
- Adding a Breadcrumb helper, include in Logs-, Repositories- and Projects helpers
- Replacing navigation in Logs#show, Projects#show, Repositories#show and Trees#show

(Temporarily?) removing the site menu.
18 files changed:
app/controllers/logs_controller.rb
app/controllers/trees_controller.rb
app/helpers/breadcrumbs_helper.rb [new file with mode: 0644]
app/helpers/logs_helper.rb
app/helpers/projects_helper.rb
app/helpers/repositories_helper.rb
app/models/project.rb
app/models/repository.rb
app/views/layouts/application.html.erb
app/views/logs/show.html.erb
app/views/projects/show.html.erb
app/views/repositories/show.html.erb
app/views/site/_breadcrumbs.html.erb
app/views/trees/show.html.erb
lib/breadcrumb.rb [new file with mode: 0644]
spec/lib/breadcrumb_spec.rb [new file with mode: 0644]
spec/models/project_spec.rb
spec/models/repository_spec.rb