10 lines
260 B
Ruby
10 lines
260 B
Ruby
class VisitorsController < ApplicationController
|
|
before_action :skip_authorization
|
|
|
|
def index
|
|
@doodads = authorize policy_scope(Doodad)
|
|
@canisters = authorize Canister.all
|
|
@feed_items = current_user.feed.paginate(page: params[:page])
|
|
end
|
|
end
|