Sha256: d3867261ed9032828a29f57c929a7a6718bd1f6e77462a1cd65c1a63bf664abf
Contents?: true
Size: 317 Bytes
Versions: 18
Compression:
Stored size: 317 Bytes
Contents
class FrontEndController < ApplicationController include PushType::Filterable private def root_path? request.fullpath == '/' end def raise_404 if root_path? render template: 'push_type/setup', layout: false, status: 404 else raise ActiveRecord::RecordNotFound end end end
Version data entries
18 entries across 18 versions & 1 rubygems