mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 07:38:06 +01:00
7208edbd37
Packs are now loaded from views, just like upstream, and are identified by their filenames. The definition of `theme.yml` has changed as such: - `pack_directory` is now required - `pack` is now unused - `signed_in_preload` has been introduced
16 lines
282 B
Ruby
16 lines
282 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SharesController < ApplicationController
|
|
layout 'modal'
|
|
|
|
before_action :authenticate_user!
|
|
before_action :set_body_classes
|
|
|
|
def show; end
|
|
|
|
private
|
|
|
|
def set_body_classes
|
|
@body_classes = 'modal-layout compose-standalone'
|
|
end
|
|
end
|