Class: Faalis::Generators::ResourcesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Faalis::Generators::ResourcesGenerator
- Defined in:
- lib/generators/faalis/resources_generator.rb
Overview
Generate a resource on dashboard
Instance Method Summary collapse
Instance Method Details
#generate_resources ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/faalis/resources_generator.rb', line 10 def generate_resources resources.each do |resource| generate 'faalis:resource', resource end end |