metamaps--metamaps/app/policies/main_policy.rb

28 lines
317 B
Ruby
Raw Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
class MainPolicy < ApplicationPolicy
def initialize(user, _record)
@user = user
@record = nil
end
def home?
true
end
def searchtopics?
true
end
def searchmaps?
true
end
def searchmappers?
true
end
def searchsynapses?
true
end
end