Sha256: ab0302b044a73fd75ac21e7057ef04216a440c60a91d8d63fc27424675eb1a99

Contents?: true

Size: 170 Bytes

Versions: 1

Compression:

Stored size: 170 Bytes

Contents

require "api_responder"

class ApiController < ApplicationController
  include Shamu::Rails::JsonApi

  self.responder = ::ApiResponder

  respond_to :json, :json_api
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shamu-0.0.7 lib/generators/shamu/api_controller/templates/api_controller.rb