mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-10 17:05:17 +00:00
14 lines
280 B
Ruby
14 lines
280 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Settings::LoginActivitiesController < Settings::BaseController
|
|
def index
|
|
@login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
|
|
end
|
|
|
|
private
|
|
|
|
def set_pack
|
|
use_pack 'settings'
|
|
end
|
|
end
|