Sha256: 1022063df76c44eceab98012c987434cd46cea0b6f8be3352df80601e1e583a2

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require 'rails/generators'

module CancanBootstrap
  module Generators
    class ScaffoldGenerator < ::Rails::Generators::NamedBase
      def generate_controller
        invoke "cancan_bootstrap:controller"
      end
      
      def generate_routes
        invoke "cancan_bootstrap:routes"
      end
      
      def generate_views
        invoke "cancan_bootstrap:views"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-cancan-bootstrap-scaffold-0.0.1 lib/generators/cancan_bootstrap/scaffold/scaffold_generator.rb