Sha256: b1cf862362c5d58c6708034105ce07804b7d068da3c217d1495b76ba5d8c2383

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module Errors
  class NotFound < Page
    include Protos::Typography

    def self.layout = Layouts::Error

    def view_template
      h1 { "Page not found." }
      link_to("Back to home", Pages::Home, class: "link")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
staticky-0.2.0 site_template/app/views/errors/not_found.rb
staticky-0.1.1 site_template/app/views/errors/not_found.rb
staticky-0.1.0 site_template/app/views/errors/not_found.rb