Skip to content

Commit

Permalink
Fixes library translation
Browse files Browse the repository at this point in the history
  • Loading branch information
cbothner committed Nov 1, 2017
1 parent 6c6124b commit 0c0ecb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/library.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Library < ApplicationRecord
HEX_COLOR = /\A#(?:[0-9a-fA-F]{3}){1,2}\z/

include Mobility
translates :name, :description, :url
translates :name, :description, :url, fallbacks: true

has_many :cases

Expand Down

0 comments on commit 0c0ecb1

Please sign in to comment.