class Slightcms::Generators::InstallGenerator

Public Instance Methods

create_admin_routes() click to toggle source

Create routes in routes.rb

# File lib/generators/slightcms/install/install_generator.rb, line 12
def create_admin_routes
  route("match ':id', :to => 'slightcms_pages#show'") 
end
show_readme() click to toggle source

Show Readme file

# File lib/generators/slightcms/install/install_generator.rb, line 17
def show_readme
  readme "README" if behavior == :invoke
end