Show work hours on dashboard #20

Merged
bilal.catic merged 4 commits from show-work-hours-on-dashboard into master 2020-10-06 08:59:34 +02:00
Showing only changes of commit 30fac52371 - Show all commits

View File

@@ -22,7 +22,7 @@ class HomiesController < ApplicationController
end
def info
importance = params[:importance].to_i
importance = params[:importance].present? ? params[:importance].to_i : -1
json_response(Homie.info(importance))
end