config/routes.rb in old_sql-0.2.0 vs config/routes.rb in old_sql-0.3.0
- old
+ new
@@ -1,12 +1,10 @@
Rails.application.routes.draw do
scope "report", :module => :old_sql, :as => "old_sql" do
- scope "report", :as => "report" do
- controller "report" do
- match "/", :to => :index, :as => "report_list"
- match "/query", :to => :query, :as => "query"
- match "/datagrid", :to => :datagrid, :as => "datagrid"
- match "/print", :to => :print, :as => "print"
- end
+ controller "report" do
+ match "/", :to => :index, :as => "report_list"
+ match "/query", :to => :query, :as => "query"
+ match "/datagrid", :to => :datagrid, :as => "datagrid"
+ match "/print", :to => :print, :as => "print"
end
end
end
\ No newline at end of file