Skip to content

Commit 9c9f3e3

Browse files
committed
call the cops
1 parent 72426e6 commit 9c9f3e3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/controllers/concerns/bulkrax/datatables_behavior.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
module Bulkrax
24
module DatatablesBehavior
35
extend ActiveSupport::Concern

app/views/bulkrax/importers/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="col-xs-12 main-header">
22
<h1><span class="fa fa-cloud-upload" aria-hidden="true"></span> Importer: <%= @importer.name %></h1>
33

4-
<% if @importer.has_failed_entries? %>
4+
<% if @importer.failed_entries? %>
55
<div class="pull-right">
66
<%= link_to 'Export Errored Entries', importer_export_errors_path(@importer.id), class: 'btn btn-primary', data: { turbolinks: false }%>
77
<%= link_to 'Upload Corrected Entries', importer_upload_corrected_entries_path(@importer.id), class: 'btn btn-primary' if @importer.parser.is_a?(Bulkrax::CsvParser) %>

0 commit comments

Comments
 (0)