Sha256: 97243c5abdfce2eaba9d22ebedabcc23132acd3e1d37c177d065f773fb46dcce

Contents?: true

Size: 212 Bytes

Versions: 1

Compression:

Stored size: 212 Bytes

Contents

class Admin::AuthorsController < ApplicationController
  respond_to :html, :json

  load_and_authorize_resource :author

  def show
    @author = Author.find( params[:id] )
    respond_with( @author )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engrave-1.0.0 app/controllers/admin/authors_controller.rb