From 59ce817e847e36ebdc6d5e21393a900b7a66b0eb Mon Sep 17 00:00:00 2001 From: Toshiaki Asai Date: Sat, 22 Oct 2016 17:04:13 +0900 Subject: intent: IntentToken modelのuriのtypeを修正 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit uriフィールドのtypeはuriでないといけない --- core/plugin/intent/model/intent_token.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/plugin/intent/model/intent_token.rb b/core/plugin/intent/model/intent_token.rb index cd14286f..f22b0fa8 100644 --- a/core/plugin/intent/model/intent_token.rb +++ b/core/plugin/intent/model/intent_token.rb @@ -2,7 +2,7 @@ module Plugin::Intent class IntentToken < Retriever::Model - field.string :uri, required: true + field.uri :uri, required: true field.has :model, Retriever::Model field.has :intent, Plugin::Intent::Intent, required: true field.has :parent, Plugin::Intent::IntentToken -- cgit v1.2.3