Skip to content

Commit fe170fa

Browse files
remove duplicate show_error_not_found in repository patch
1 parent d4eca68 commit fe170fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: lib/redmine_git_hosting/patches/repositories_controller_patch.rb

-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ def diff_with_options
145145
show_error_not_found
146146
return
147147
end
148-
149-
show_error_not_found unless @diff
150148
end
151149

152150
@changeset = @repository.find_changeset_by_name(@rev)

0 commit comments

Comments
 (0)