Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Expose the list of all artefacts as JSON

  • Loading branch information...
commit 77b3814f117aad0dc1d651fd14c5a6bc52b28795 1 parent ffa95ca
Craig R Webster craigw authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  app/controllers/artefacts_controller.rb
1  app/controllers/artefacts_controller.rb
@@ -13,6 +13,7 @@ class ArtefactsController < ApplicationController
13 13
14 14 def index
15 15 @artefacts = Artefact.order(:name).all
  16 + respond_with @artefacts
16 17 end
17 18
18 19 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.