blob: 0596441591d5c51a4c380339fd0a8c9661a47971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# frozen_string_literal: true
module Organizations
class OrganizationsController < ApplicationController
include PreviewMarkdown
feature_category :cell
skip_before_action :authenticate_user!, only: [:show, :groups_and_projects]
def index; end
def new
authorize_create_organization!
end
def show
authorize_read_organization!
end
def groups_and_projects
authorize_read_organization!
end
def users
authorize_read_organization_user!
end
end
end
|