1
0
Fork 0
forked from fedi/mastodon
mastodon/app/controllers/settings/login_activities_controller.rb

8 lines
223 B
Ruby
Raw Normal View History

2021-06-21 15:07:30 +00:00
# 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
end