Sha256: f38d872ececb4d318d8c4cfa1a4a9aa5bfec81647a9baa363b9d547588c51f77
Contents?: true
Size: 321 Bytes
Versions: 92
Compression:
Stored size: 321 Bytes
Contents
require 'rails/generators' module Pageflow module Generators class CancanGenerator < Rails::Generators::Base desc 'Setup ability class.' source_root File.expand_path('../templates', __FILE__) def create_ability template 'ability.rb', 'app/models/ability.rb' end end end end
Version data entries
92 entries across 92 versions & 1 rubygems