Skip to content

Commit 348d254

Browse files
committed
Add some documentation
1 parent a5569f4 commit 348d254

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/controllers/organizations_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def destroy
4545
redirect_to organizations_path, notice: "deleted"
4646
end
4747

48+
# Transfer time to the current organization
49+
#
4850
def give_time
4951
@destination = @organization.account.id
5052
@source = find_transfer_source

app/controllers/users_controller.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ def scoped_users
1515
@organization.users
1616
end
1717

18+
# GET /organizations/:id/members
19+
#
1820
def index
1921
@users = scoped_users
2022
@memberships = @organization.members.
@@ -24,6 +26,8 @@ def index
2426
end
2527
end
2628

29+
# GET /members/:user_id
30+
#
2731
def show
2832
@user = find_user
2933
authorize @user

0 commit comments

Comments
 (0)