Sha256: 1af173e3966551e18a3f56d1f86ad6612be48279e18eaf8cdc95f43dc33e0da6

Contents?: true

Size: 350 Bytes

Versions: 13

Compression:

Stored size: 350 Bytes

Contents

module Locomotive
  module Steam
    module Liquid
      module Tags

        class PageNotFound < ::Liquid::Tag

          def render(context)
            raise Locomotive::Steam::PageNotFoundException.new
          end

        end

        ::Liquid::Template.register_tag('render_page_not_found'.freeze, PageNotFound)

      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
locomotivecms_steam-1.8.0.alpha2 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.8.0.alpha1 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.7.1 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.7.0 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.6.1 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.6.0 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.6.0.rc1 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.6.0.beta1 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.5.3 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.5.2 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.5.1 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.5.0 lib/locomotive/steam/liquid/tags/page_not_found.rb
locomotivecms_steam-1.5.0.rc1 lib/locomotive/steam/liquid/tags/page_not_found.rb