mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Include helper that provides number_with_precision
This commit is contained in:
parent
7c1d3ce1c4
commit
9aee02ecb9
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Event < ApplicationRecord
|
||||
include ActionView::Helpers::NumberHelper # for number_with_precision
|
||||
include ActiveRecord::Transitions
|
||||
include RevisionCount
|
||||
has_paper_trail on: [:create, :update], ignore: [:updated_at, :guid, :week], meta: { conference_id: :conference_id }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue