mirror of
https://github.com/mastodon/mastodon.git
synced 2025-03-18 13:20:22 +01:00
15 lines
253 B
Ruby
15 lines
253 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ListsController < ApplicationController
|
|
include WebAppControllerConcern
|
|
|
|
before_action :set_list
|
|
|
|
def show; end
|
|
|
|
private
|
|
|
|
def set_list
|
|
@list = List.where(type: :public_list).find(params[:id])
|
|
end
|
|
end
|