mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-02 20:03: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
|
class PrivacyController < ApplicationController
|
||||||
layout 'public'
|
layout 'public'
|
||||||
|
|
||||||
|
before_action :set_pack
|
||||||
|
|
||||||
before_action :set_instance_presenter
|
before_action :set_instance_presenter
|
||||||
before_action :set_expires_in
|
before_action :set_expires_in
|
||||||
|
|
||||||
|
@ -12,6 +14,10 @@ class PrivacyController < ApplicationController
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def set_pack
|
||||||
|
use_pack 'public'
|
||||||
|
end
|
||||||
|
|
||||||
def set_instance_presenter
|
def set_instance_presenter
|
||||||
@instance_presenter = InstancePresenter.new
|
@instance_presenter = InstancePresenter.new
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue