Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

394 B
Raw Blame
# frozen_string_literal: true

module Organisations
  class MobileNavigationController < BaseController
    def projects
      authorize current_organisation, :show?
      render partial: 'layouts/mobile_project_switcher' if turbo_frame_request? && request.headers['Turbo-Frame'] == 'mobile_project_switcher'
    end

    def more
      authorize current_organisation, :show?
    end
  end
end