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
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
|