mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-13 00:38:13 -05:00
12 lines
310 B
Ruby
12 lines
310 B
Ruby
# frozen_string_literal: true
|
|
|
|
class HomeController < ApplicationController
|
|
def index
|
|
# redirect_to 'https://dawarich.app', allow_other_host: true and return unless SELF_HOSTED
|
|
|
|
redirect_to map_url if current_user
|
|
|
|
@points = current_user.tracked_points.without_raw_data if current_user
|
|
end
|
|
end
|