Sha256: 32fa6289f64a88195435638fe8d6ea8067db71604bb55c7ee2a7e08e7ee692d1

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

module Errors
  class ServiceError < Page
    include Protos::Typography

    def self.layout = Layouts::Error

    def view_template
      h1 { "Something went wrong." }
      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/service_error.rb
staticky-0.1.1 site_template/app/views/errors/service_error.rb
staticky-0.1.0 site_template/app/views/errors/service_error.rb