Skip to content

Commit f6b0e0f

Browse files
svenweyKagemaru
authored andcommitted
fixing rubocop linting issue
1 parent 71bb39a commit f6b0e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/controllers/invoice_reports_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def index
2828
end
2929

3030
def sync
31-
if params.blank?
32-
flash[:error] = 'Fehler im Puzzletime beim Sync'
31+
if params['invoice_id'].blank?
32+
flash[:error] = 'Interner Puzzletime Fehler beim Sync der Rechnung' # rubocop:disable Rails/I18nLocaleTexts
3333
redirect_to reports_invoices_path(params.to_unsafe_h)
3434
return
3535
end

0 commit comments

Comments
 (0)