1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 08:43:23 -05:00

WIP, adding time entry index page

This commit is contained in:
Jason Denney 2014-04-27 15:46:42 -04:00
parent 7dd556d718
commit 3d71add637
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,9 @@
%a{ class: "btn btn-default btn-lg", href: root_path}
%span{ class:"icon-home"}
%h2 Your Timesheet
%p Total Hours Worked: #{@hours_worked}
%p Total Credits Available: #{@credits_available}
%a{class: "btn btn-lg btn-block btn-primary", href: new_time_entry_path } Add Time Entry

View File

@ -11,7 +11,8 @@ Velocipede::Application.routes.draw do
get 'task_lists/:id/edit' => "task_lists#edit", as: "edit_task_list"
get 'time_entries/new' => "time_entries#new", as: "new_time_entry"
get 'time_entries' => "time_entries#index", as: "time_entries"
get 'time_entries/new' => "time_entries#new", as: "new_time_entry"
###########################
# API Routes