summaryrefslogtreecommitdiffstats
path: root/app/models/import.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/import.rb')
-rw-r--r--app/models/import.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/import.rb b/app/models/import.rb
index 7009f2e7e..df6b085a6 100644
--- a/app/models/import.rb
+++ b/app/models/import.rb
@@ -37,6 +37,18 @@ class Import < ActiveRecord::Base
'%d-%m-%Y'
]
+ def self.menu_item
+ nil
+ end
+
+ def self.layout
+ 'base'
+ end
+
+ def self.authorized?(user)
+ user.admin?
+ end
+
def initialize(*args)
super
self.settings ||= {}