# encoding: utf-8 module Mutx module Routes module Message class Routes < App define do on get do on "task/:result_id" do |result_id| res.write view('body', 'Task Message', query_string: query_string, result_id: result_id) end on "test/:result_id" do |result_id| res.write view('body', 'Test Message', query_string: query_string, result_id: result_id) end end end end end end end