retrospring/app/controllers/about_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
344 B
Ruby
Raw Normal View History

2022-07-18 16:26:11 +02:00
# frozen_string_literal: true
class AboutController < ApplicationController
def index
return redirect_to(edit_user_registration_path) if user_signed_in?
2024-08-11 05:02:03 +02:00
return unless Retrospring::Config.advanced_frontpage_enabled?
render template: "about/index_advanced"
end
2024-09-04 22:43:13 +02:00
def about; end
def privacy_policy; end
def terms; end
2022-07-18 16:26:11 +02:00
end