mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-10 01:25:15 +00:00
11 lines
309 B
Ruby
11 lines
309 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Settings::LoginActivitiesController < Settings::BaseController
|
|
skip_before_action :check_self_destruct!
|
|
skip_before_action :require_functional!
|
|
|
|
def index
|
|
@login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
|
|
end
|
|
end
|