I\'m trying to retrieve the URL of an active storage attachment as JSON response but i didn\'t quite get the correct respond here is my code:
#projet.rb