watsonbox/facture

View on GitHub
app/controllers/projects_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class ProjectsController < ApplicationController
  respond_to :json

  def index
    respond_with Project.all_with_unpaid_invoices
  end

  def show
    respond_with Project.find(params[:id])
  end
end