mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 21:13:47 +01:00
Merge remote-tracking branch 'upstream/main' into develop
This commit is contained in:
commit
936677e96d
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
class PrivacyController < ApplicationController
|
||||
layout 'public'
|
||||
|
||||
before_action :set_pack
|
||||
|
||||
before_action :set_instance_presenter
|
||||
before_action :set_expires_in
|
||||
|
||||
|
@ -12,6 +14,10 @@ class PrivacyController < ApplicationController
|
|||
|
||||
private
|
||||
|
||||
def set_pack
|
||||
use_pack 'public'
|
||||
end
|
||||
|
||||
def set_instance_presenter
|
||||
@instance_presenter = InstancePresenter.new
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue