module Drops
  class DevelopersController < Drops::BaseController
    before_action :set_developer, only: [:show]

    def index
      authorize Developer

      @developers = Developer.scoped
      @developers = @developers.all
    end

    def show
    end

    protected

    def set_developer
      @developer = Developer.find params[:id]
      authorize @developer
    end
  end
end
