From 3f9077b3805e77735c9673ea5c81ebb7b47e380f Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 24 Sep 2016 12:35:06 +0800 Subject: [PATCH] clean up --- app/policies/map_policy.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/policies/map_policy.rb b/app/policies/map_policy.rb index 4cb2db38..84d24ca4 100644 --- a/app/policies/map_policy.rb +++ b/app/policies/map_policy.rb @@ -41,10 +41,6 @@ class MapPolicy < ApplicationPolicy user.present? && record.user == user end - def activemaps? - user.blank? # redirect to root url if authenticated for some reason - end - def contains? show? end @@ -57,14 +53,6 @@ class MapPolicy < ApplicationPolicy show? end - def featuredmaps? - true - end - - def mymaps? - user.present? - end - def star? unstar? end @@ -76,8 +64,4 @@ class MapPolicy < ApplicationPolicy def screenshot? update? end - - def usermaps? - true - end end