Sha256: a7f5d95b16da9210b245a5b98dabef5ecfa81f3168a678e7f5bfb9c6bfbb7af5
Contents?: true
Size: 452 Bytes
Versions: 3
Compression:
Stored size: 452 Bytes
Contents
class ControllerGenerator < BaseScaffold def self.source_root File.join File.dirname(__FILE__), "templates" end def build template("controller.erb", Configuration.main_class_path(Configuration.controllers_package, "#{controller_class_name}.java")) template("controller_test.erb", Configuration.test_class_path(Configuration.controllers_package, "#{controller_test_class_name}.java")) end def path "/#{base_path}" end end
Version data entries
3 entries across 3 versions & 1 rubygems