Sha256: fa64e7b3083bb7c5ae3872dde5bb414d4b101e5c26582f2022e3ac9f2f409fed

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

class Unit < ::ActiveRecord::Base
  belongs_to :school

  def index_path
    "#{self.class.name.underscore}.index.path"
  end

  def show_path
    "#{self.class.name.underscore}.show.path"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
breadcrumby-0.1.0 spec/support/models/unit.rb