Fix relations error in tags
This commit is contained in:
1 parent
778a85ca2b
commit
d0c2856a3a
6 files changed
+8
-8
No files matched your search
@@ -21,8 +21,4 @@ class I18nVariable
|
||||
I18nVariable.first(:conditions => {:key => locale})[I18n.locale]
|
||||
end
|
||||
|
||||
def self.from_locale(locale)
|
||||
I18nVariable.first(:conditions => {:key => locale})[I18n.locale]
|
||||
end
|
||||
|
||||
end
|
||||
@@ -4,6 +4,5 @@ class Tag
|
||||
include Mongoid::Timestamps
|
||||
|
||||
belongs_to :module_app
|
||||
has_and_belongs_to_many :bulletins
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user