lib/ruboss4ruby.rb in ruboss4ruby-1.0.1 vs lib/ruboss4ruby.rb in ruboss4ruby-1.0.2
- old
+ new
@@ -2,9 +2,16 @@
# make sure we're running inside Merb
if defined?(Merb::Plugins)
Merb::BootLoader.before_app_loads do
Merb.add_mime_type(:fxml, :to_fxml, %w[application/xml text/xml application/x-xml], :charset => "utf-8")
+ generators = File.join(File.dirname(__FILE__), '..', 'merb_generators')
+ Merb.add_generators generators / :ruboss_config
+ Merb.add_generators generators / :ruboss_flex_app
+ Merb.add_generators generators / :ruboss_controller
+ Merb.add_generators generators / :ruboss_scaffold
+ Merb.add_generators generators / :ruboss_resource_controller
+
require 'ruboss4ruby/version'
require 'ruboss4ruby/configuration'
require 'ruboss4ruby/active_foo' if defined?(ActiveRecord::Base)
end
\ No newline at end of file