7d4da81272
* install rubocop * 1961 automatic rubocop fixes * update rubocop.yml to ignore half of the remaining cops * rubocop lint warnings * random other warnings fixed
26 lines
287 B
Ruby
26 lines
287 B
Ruby
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
|