mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 06:58:06 +01:00
1488be7d96
Conflicts: - app/controllers/home_controller.rb - app/controllers/shares_controller.rb - app/javascript/packs/public.js - app/models/status.rb - app/serializers/initial_state_serializer.rb - app/views/home/index.html.haml - app/views/layouts/public.html.haml - app/views/public_timelines/show.html.haml - app/views/shares/show.html.haml - app/views/tags/show.html.haml - config/initializers/content_security_policy.rb - config/locales/en.yml - config/webpack/shared.js - package.json
21 lines
351 B
Ruby
21 lines
351 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SharesController < ApplicationController
|
|
layout 'modal'
|
|
|
|
before_action :authenticate_user!
|
|
before_action :set_pack
|
|
before_action :set_body_classes
|
|
|
|
def show; end
|
|
|
|
private
|
|
|
|
def set_pack
|
|
use_pack 'share'
|
|
end
|
|
|
|
def set_body_classes
|
|
@body_classes = 'modal-layout compose-standalone'
|
|
end
|
|
end
|