diff options
Diffstat (limited to 'app/controllers/projects/graphs_controller.rb')
-rw-r--r-- | app/controllers/projects/graphs_controller.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/projects/graphs_controller.rb b/app/controllers/projects/graphs_controller.rb index c80fce513f6..e25e1c10958 100644 --- a/app/controllers/projects/graphs_controller.rb +++ b/app/controllers/projects/graphs_controller.rb @@ -18,11 +18,11 @@ class Projects::GraphsController < Projects::ApplicationController end def commits - redirect_to action: 'charts' + redirect_to action: "charts" end def languages - redirect_to action: 'charts' + redirect_to action: "charts" end def charts @@ -48,7 +48,7 @@ class Projects::GraphsController < Projects::ApplicationController @languages = if @project.repository_languages.present? @project.repository_languages.map do |lang| - { value: lang.share, label: lang.name, color: lang.color, highlight: lang.color } + {value: lang.share, label: lang.name, color: lang.color, highlight: lang.color} end else @project.repository.languages @@ -63,7 +63,7 @@ class Projects::GraphsController < Projects::ApplicationController @log << { author_name: commit.author_name, author_email: commit.author_email, - date: commit.committed_date.strftime("%Y-%m-%d") + date: commit.committed_date.strftime("%Y-%m-%d"), } end |