Sha256: 693390b7871d9e7f4551cfb29dd7a598c159e613cc71c69a24c5e9056c1f4288
Contents?: true
Size: 382 Bytes
Versions: 9
Compression:
Stored size: 382 Bytes
Contents
module Api module V1 class ProjectsController < ApplicationController before_filter :api_authenticate! skip_before_filter :verify_authenticity_token rescue_from ActiveRecord::RecordNotFound do head 404 end def index @projects = Project.unretired render json: ProjectPresenter.new(@projects) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems