lib/generators/faalis/install_generator.rb in faalis-1.0.0.alpha1 vs lib/generators/faalis/install_generator.rb in faalis-1.0.0.alpha2
- old
+ new
@@ -55,11 +55,13 @@
def copy_scss_manifest
directory 'stylesheets', 'app/assets/stylesheets'
end
def install_routes
- route 'mount Faalis::Engine => "/"'
- route 'Faalis::Routes.define_api_routes'
+ route 'end'
+ route ' # Define your API routes here . . .'
+ route 'Faalis::Routes.define_api_routes do'
+ route "mount Faalis::Engine => '/'"
end
def patch_application_controller
inject_into_class "app/controllers/application_controller.rb", ApplicationController, " extend Faalis::I18n::Locale\n"
end