Sha256: 98135d032a07b1ea40fea07a71800a12375d6e15475d98eda7dab4ee2cc1dd8e
Contents?: true
Size: 319 Bytes
Versions: 8
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module Pundit module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path("templates", __dir__) def copy_application_policy template "application_policy.rb", "app/policies/application_policy.rb" end end end end
Version data entries
8 entries across 8 versions & 2 rubygems