Sha256: 086116330f6798ae08ee717f70ec9e8c22b909dfdbf7d1e7461e63ca452ecd20

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

class Defaults::ServerErrorView < BaseView
  def template_data
    {
      template: 'defaults/server_error',
      locals: {
        errors: view_data.errors,
      }
    }
  end

  def default_status
    :internal_server_error
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/app/views/defaults/server_error_view.rb
aldous-1.1.2 examples/basic_todo/app/views/defaults/server_error_view.rb
aldous-1.0.1 examples/basic_todo/app/views/defaults/server_error_view.rb
aldous-1.0.0 examples/basic_todo/app/views/defaults/server_error_view.rb