Sha256: 024b5ad97f99419124756ffd32464ad2339782e76ddba62c471c5d3dea630243
Contents?: true
Size: 336 Bytes
Versions: 25
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true # Policy for <%= class_name %> model <% module_namespacing do -%> # Policy for <%= MODULE_CLASS_NAME %> model class <%= MODULE_CLASS_NAME %>Policy < ControllerPolicy attr_reader :user, :objects def initialize(user, objects) @user = user @objects = objects end end <% end -%>
Version data entries
25 entries across 24 versions & 1 rubygems