dawarich/app/controllers/home_controller.rb

12 lines
302 B
Ruby
Raw Normal View History

2024-05-23 14:12:23 -04:00
# frozen_string_literal: true
2023-10-21 06:43:31 -04:00
class HomeController < ApplicationController
def index
# redirect_to 'https://dawarich.app', allow_other_host: true and return unless SELF_HOSTED
2024-05-23 14:12:23 -04:00
redirect_to map_url if current_user
2024-03-15 18:27:31 -04:00
@points = current_user.points.without_raw_data if current_user
2023-10-21 06:43:31 -04:00
end
end