lib/punk/routes/users.rb in punk-0.3.6 vs lib/punk/routes/users.rb in punk-0.4.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
# @resource Users
#
# Users can belong to many tenants and many groups.
-PUNK.route('users') do
+PUNK.route("users") do
require_session!
require_tenant!
# Retrieve the list of users visible to the authenticated user for a specific tenant or group.
# @path [GET] /users