Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Expose the list of all artefacts as JSON

  • Loading branch information...
commit 77b3814f117aad0dc1d651fd14c5a6bc52b28795 1 parent ffa95ca
Craig R Webster craigw authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/controllers/artefacts_controller.rb
1  app/controllers/artefacts_controller.rb
View
@@ -13,6 +13,7 @@ class ArtefactsController < ApplicationController
def index
@artefacts = Artefact.order(:name).all
+ respond_with @artefacts
end
def show

2 comments on commit 77b3814

James Stewart
Owner

What are we using this for?

Craig R Webster

While I was waiting on planning I picked a story to work on. I need a list of all artefacts so I can check content for links that go nowhere. It wasn't prioritised so I stopped working on it.

Please sign in to comment.
Something went wrong with that request. Please try again.