diff options
Diffstat (limited to 'app/models/ressource.rb')
-rw-r--r-- | app/models/ressource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ressource.rb b/app/models/ressource.rb index 26f656a..82a5799 100644 --- a/app/models/ressource.rb +++ b/app/models/ressource.rb @@ -16,7 +16,7 @@ # License along with ECS. If not, see <http://www.gnu.org/licenses/>. -class Ressource < ActiveRecord::Base +class Ressource < ApplicationRecord # TODO prevent invalid namespace and ressource strings. has_many :messages, :dependent => :destroy validates_presence_of :namespace, :ressource |