diff --git a/app/models/store/provider/db.rb b/app/models/store/provider/db.rb index 8832e690e..2cc739c58 100644 --- a/app/models/store/provider/db.rb +++ b/app/models/store/provider/db.rb @@ -1,7 +1,7 @@ # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/ class Store - class Provider + module Provider class DB < ApplicationModel self.table_name = 'store_provider_dbs' diff --git a/app/models/store/provider/file.rb b/app/models/store/provider/file.rb index 731bf5186..928935f72 100644 --- a/app/models/store/provider/file.rb +++ b/app/models/store/provider/file.rb @@ -1,8 +1,8 @@ # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/ class Store - class Provider - class File + module Provider + module File def self.add(data, sha) write_to_fs(data, sha)