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

27 lines
286 B
Ruby
Raw Permalink Normal View History

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