mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Added Time entries index page
This commit is contained in:
@@ -9,6 +9,8 @@ class TimeEntriesController < AuthenticatedController
|
||||
end
|
||||
|
||||
def index
|
||||
|
||||
@user_time_entries = TimeEntry.where(loggable_id: current_user.id)
|
||||
@credits_available = current_user.total_credits
|
||||
@hours_worked = current_user.total_hours
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user