mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
19672faba6
This commit adds a new "Invite" link to the sidebar for all users who can invite to the site. Clicking the link opens the invite modal without changing the current route the user is on. Admins can customize the new link or remove it entirely if they wish by editing the sidebar section. Internal topic: t/129752.
7 lines
103 B
Ruby
7 lines
103 B
Ruby
# frozen_string_literal: true
|
|
|
|
class NewInviteController < ApplicationController
|
|
def index
|
|
end
|
|
end
|