Sha256: 569eb51f3c0f260bb7421c7dad94114b198184c716f06ca1bffd12b2a00c65d3
Contents?: true
Size: 237 Bytes
Versions: 3
Compression:
Stored size: 237 Bytes
Contents
module Routingo class Routingo < Rails::Generators::NamedBase def create_helper_file create_file "config/routes/#{file_name}.rb", <<-FILE Rails.application.routes.draw do end FILE end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
routingo-0.1.5 | lib/generators/routingo/routingo_generator.rb |
routingo-0.1.4 | lib/generators/routingo/routingo_generator.rb |
routingo-0.1.3 | lib/generators/routingo/routingo_generator.rb |