Sha256: 9d4d727e3721a30cdd11e77b5d129950f8bf85f96b43fd4ac8645a1dd826b003

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

module Schienenzeppelin
  module AddOns
    class Pundit < AddOn
      def apply
        directory 'app/policies', 'app/policies'
        template 'app/controllers/authorized_controller.rb.erb', 'app/controllers/authorized_controller.rb'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schienenzeppelin-0.2 lib/schienenzeppelin/addons/pundit.rb