Skip to content

Commit

Permalink
BASIRA #290 - Removing authentication from GET /api/value_lists API e…
Browse files Browse the repository at this point in the history
…ndpoint
  • Loading branch information
dleadbetter committed Dec 23, 2024
1 parent 8e9e7b1 commit 51499e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/api/value_lists_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ class Api::ValueListsController < Api::BaseController
# Preloads
preloads :qualifications, only: [:index, :show]

# Actions
skip_before_action :authenticate_user!, only: :index

def objects_list
objects_list = ValueList
.all
Expand Down

0 comments on commit 51499e7

Please sign in to comment.