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

Version Path
push_type_core-0.7.0 app/controllers/front_end_controller.rb
push_type_core-0.7.0.beta.1 app/controllers/front_end_controller.rb
push_type_core-0.6.0 app/controllers/front_end_controller.rb
push_type_core-0.6.0.beta.4 app/controllers/front_end_controller.rb
push_type_core-0.6.0.beta.3 app/controllers/front_end_controller.rb
push_type_core-0.6.0.beta.2 app/controllers/front_end_controller.rb
push_type_core-0.6.0.beta.1 app/controllers/front_end_controller.rb
push_type_core-0.5.3 app/controllers/front_end_controller.rb
push_type_core-0.5.2 app/controllers/front_end_controller.rb
push_type_core-0.5.1 app/controllers/front_end_controller.rb
push_type_core-0.5.0 app/controllers/front_end_controller.rb
push_type_core-0.5.0.alpha.5 app/controllers/front_end_controller.rb
push_type_core-0.5.0.alpha.4 app/controllers/front_end_controller.rb
push_type_core-0.5.0.alpha.3 app/controllers/front_end_controller.rb
push_type_core-0.5.0.alpha.2 app/controllers/front_end_controller.rb
push_type_core-0.5.0.alpha.1 app/controllers/front_end_controller.rb
push_type_core-0.4.0 app/controllers/front_end_controller.rb
push_type_core-0.4.0.beta.3 app/controllers/front_end_controller.rb