Sha256: dde3c279544fd6b7b4680a7182df201ff9c58f44b80f858e13a69c91ad1df44f
Contents?: true
Size: 383 Bytes
Versions: 27
Compression:
Stored size: 383 Bytes
Contents
require 'rails/generators' require File.expand_path('../utils', __FILE__) module Enjoy class AbilityGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) include Generators::Utils::InstanceMethods desc 'Enjoy CanCan Ability config generator' def ability template 'ability.erb', 'app/models/ability.rb' end end end
Version data entries
27 entries across 27 versions & 1 rubygems