class Chive::Generators::RoutesGenerator
Public Instance Methods
manifest()
click to toggle source
# File lib/generators/chive/routes_generator.rb, line 9 def manifest inject_into_file 'config/routes.rb', after: "Rails.application.routes.draw do\n" do " mount Chive::Engine => '/chive'\n" end end