config/routes.rb in mega_bar-0.5.1 vs config/routes.rb in mega_bar-0.5.2

- old
+ new

@@ -1,10 +1,10 @@ Rails.application.routes.draw do MegaBar::Engine.routes.draw do MegaRoute.load('/mega-bar').each do |route| - get '/template_sections_for_layout/:id', to: 'utils#by_layout' + get '/template_sections_for_layout/:id', to: 'utils#by_layout' # puts "MB: HEY: #{route[:path]} => #{route[:controller]}##{route[:action]} via #{route[:method]} as: #{route[:as]}" # if route[:path].include?('models') || route[:path].include?('survey') # puts route; # if route[:concerns] == 'paginatable' # # puts("#{route[:path]}(/#{route[:controller].singularize}_page/:page)") # match "#{route[:path]}(/#{route[:controller].singularize}_page/:page)" => "#{route[:controller]}##{route[:action]}", via: route[:method], as: route[:as], :page => 1