Use Rails 5 conventions in Dashboard
These models and migrations were added on a branch based on Rails 4.
This commit is contained in:
committed by
voodoorai2000
parent
8094417828
commit
c43b0fea64
@@ -1,4 +1,4 @@
|
||||
class Link < ActiveRecord::Base
|
||||
class Link < ApplicationRecord
|
||||
belongs_to :linkable, polymorphic: true
|
||||
|
||||
validates :label, presence: true
|
||||
|
||||
Reference in New Issue
Block a user