lib/brief/server/route.rb in brief-1.4.4 vs lib/brief/server/route.rb in brief-1.5.0
- old
+ new
@@ -35,10 +35,12 @@
def handler
case
when request.path.match(/^\/schema/)
handlers.const_get(:Schema)
+ when path_action == "aggregator"
+ handlers.const_get(:Aggregator)
when path_action == "browse"
handlers.const_get(:Browse)
when %w(create update delete remove).include?(path_action)
handlers.const_get(:Modify)
when path_action == "actions"
@@ -71,5 +73,6 @@
require "brief/server/handlers/info"
require "brief/server/handlers/browse"
require "brief/server/handlers/modify"
require "brief/server/handlers/schema"
require "brief/server/handlers/show"
+require "brief/server/handlers/aggregator"