Sha256: 35e474a79c15ffa5cdd1a5f93b9c7001da5a8be76219e05e88c8f745af7ec257

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module Errors
  class ServiceError < ApplicationPage
    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

2 entries across 2 versions & 1 rubygems

Version Path
staticky-0.3.1 site_template/app/views/errors/service_error.rb
staticky-0.3.0 site_template/app/views/errors/service_error.rb