Sha256: 1fbb73d9c3168dbf036d8f00993ed2ca09a62ad6c8f8758d0466aa891c3db473
Contents?: true
Size: 368 Bytes
Versions: 17
Compression:
Stored size: 368 Bytes
Contents
require 'rails/generators' module Pageflow module Generators class RoutesGenerator < Rails::Generators::Base desc "Injects the pageflow mount call into config/routes.rb" def add_route inject_into_file 'config/routes.rb', after: " ActiveAdmin.routes(self)\n" do " Pageflow.routes(self)\n" end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems