]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to TimelogController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Oct 2020 15:37:30 +0000 (15:37 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Oct 2020 15:37:30 +0000 (15:37 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20120 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/timelog_controller.rb

index b694137e8cc6ffd995ea636363b3ec33bf3d8de4..bbb25d081ea91c1a74677f893973a78706d9da5e 100644 (file)
@@ -278,6 +278,7 @@ class TimelogController < ApplicationController
 
     raise ActiveRecord::RecordNotFound if @time_entries.empty?
     raise Unauthorized unless @time_entries.all? {|t| t.editable_by?(User.current)}
+
     @projects = @time_entries.collect(&:project).compact.uniq
     @project = @projects.first if @projects.size == 1
   rescue ActiveRecord::RecordNotFound