3782: Merge branch 'master' into 3782-stub-file-content
[arvados.git] / apps / workbench / app / models / repository.rb
1 class Repository < ArvadosBase
2   def self.creatable?
3     current_user and current_user.is_admin
4   end
5   def attributes_for_display
6     super.reject { |x| x[0] == 'fetch_url' }
7   end
8 end