From 5c2f423f58f2b9cc472a529d5263809c08f6537b Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 18 Jul 2015 11:25:11 +0300 Subject: [PATCH] reinstantiating lib dir --- app/main/{models => lib}/object_view.rb | 0 app/main/{models => lib}/space_view.rb | 0 app/main/models/user.rb | 12 ------------ 3 files changed, 12 deletions(-) rename app/main/{models => lib}/object_view.rb (100%) rename app/main/{models => lib}/space_view.rb (100%) delete mode 100644 app/main/models/user.rb diff --git a/app/main/models/object_view.rb b/app/main/lib/object_view.rb similarity index 100% rename from app/main/models/object_view.rb rename to app/main/lib/object_view.rb diff --git a/app/main/models/space_view.rb b/app/main/lib/space_view.rb similarity index 100% rename from app/main/models/space_view.rb rename to app/main/lib/space_view.rb diff --git a/app/main/models/user.rb b/app/main/models/user.rb deleted file mode 100644 index 1dbf70a..0000000 --- a/app/main/models/user.rb +++ /dev/null @@ -1,12 +0,0 @@ -# By default Volt generates this User model which inherits from Volt::User, -# you can rename this if you want. -class User < Volt::User - # login_field is set to :email by default and can be changed to :username - # in config/app.rb - field login_field - field :name - - validate login_field, unique: true, length: 8 - validate :email, email: true - -end