config/routes.rb in phccodesnipperpro-4.4.0 vs config/routes.rb in phccodesnipperpro-5.0.0

- old
+ new

@@ -1,13 +1,10 @@ Phccodesnipperpro::Engine.routes.draw do - # Script Snippet Routes - namespace :script do - resources :snippets, class_name: 'Phccodesnipperpro::Script::Snippet' do - resources :urls, class_name: 'Phccodesnipperpro::Script::Url' - end - end - - # PHCAccounts Routes - mount Phcaccountspro::Engine, :at => '/' + # Script Snippet Routes + namespace :script do + resources :snippets, class_name: "Phccodesnipperpro::Script::Snippet" do + resources :urls, class_name: "Phccodesnipperpro::Script::Url" + end + end end