Sha256: b7992d4ff62cc3c4d955da9d4abc99600703c404eb4835b7757da3da3c130553

Contents?: true

Size: 228 Bytes

Versions: 4

Compression:

Stored size: 228 Bytes

Contents

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

  def default_status
    :bad_request
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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