class ChartsController < ApplicationController
  def commits
    render json: Commit.group_by_day(:author_datetime).count
  end
end

class ChartsController < ApplicationController
  def commits
    render json: Commit.group_by_month(:author_datetime).count
  end
end

Adjust commits to encompass the full scope of the project
Adjust commits to encompass the full scope of the project
