Sha256: e1c5e535d47f58a3d0bdcd5c8609f4351b123da104b2204bb49e5ab3ef8c801c
Contents?: true
Size: 356 Bytes
Versions: 96
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true # # Manage cron job servers # module CoreController extend ActiveSupport::Concern private def index_path "/#{controller_path}" end # # Handle a document not being found, as this may happen # def document_not_found_error flash.now[:error] = 'Document not found' redirect_to index_path end end
Version data entries
96 entries across 96 versions & 1 rubygems