Sha256: 9e412210a0658d1ca8a5513aa636a168261e3140ad4ae5f12613c75bbacd6600

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

class Todos::NotFoundView < BaseView
  def template_data
    {
      template: 'todos/not_found',
      locals: {
        user_email: current_user.email,
        todo_id: view_data.todo_id,
      }
    }
  end

  def default_status
    :not_found
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/app/views/todos/not_found_view.rb
aldous-1.1.2 examples/basic_todo/app/views/todos/not_found_view.rb
aldous-1.0.1 examples/basic_todo/app/views/todos/not_found_view.rb
aldous-1.0.0 examples/basic_todo/app/views/todos/not_found_view.rb