about summary refs log tree commit diff
path: root/app/controllers/shares_controller.rb
blob: e13e7e8b656014243a5a1811f2c8bb6e78c1a8ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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