mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-30 18:43:56 +00:00
17 lines
282 B
Ruby
17 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
|