1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/controllers/settings/sessions_controller.rb

13 lines
342 B
Ruby

# frozen_string_literal: true
class Settings::SessionsController < ApplicationController
before_action :skip_policy_scope, only: :index
# GET /settings/sessions
def index
authorize [:settings, Session]
@sessions = current_account.sessions.order(logged_at: :desc)
.page(params[:page])
end
end