Skip to content

Commit

Permalink
Renamed index.haml to list.haml and updated the controller accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
pope committed May 7, 2008
1 parent 78cded3 commit 839da80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions watchtower.rb
Expand Up @@ -28,11 +28,11 @@
get('/') do
@title = "All Tickets"
@tickets = $ticgit.ticket_list(:order => 'date.desc')
haml :index
haml :list
end

get('/tickets/state/:state') do
@title = "#{params[:state].capitalize} Tickets"
@tickets = $ticgit.ticket_list(:state => params[:state], :order => 'date.desc')
haml :index
haml :list
end

0 comments on commit 839da80

Please sign in to comment.