ã¯ããã« Ruby on Railsã«ã¦Jbuilderã使ç¨ãã¦JSONãè¿å´ããControllerãéçºä¸ãRSpecããControllerãå¼ã³åºããéã«ä»¥ä¸ã®ã¨ã©ã¼ã«ééãã¾ããã ActionView::MissingTemplate: Missing template ã»ã»ã» ãåç¥ã®äººã«ã¨ã£ã¦ã¯ç°¡åãªè©±ã ã¨ã¯æãã¾ãããæå¤ã«ã¯ã¾ã£ãã®ã§ãåå¿é²ã¨ãã¦è¼ãã¦ããã¾ãã åå ã¨æ¤è¨¼ çµè«ããããã¨ãåå ã¯Controllerãå¼ã³åºãéã«ãã©ã¼ãããã¨ãã¦JSONãæå®ãã¦ããªãã£ããã¨ã§ãã æ¤è¨¼ã®ããã®ã½ã¼ã¹ãæ¸ããã®ã§ãåãã確èªãã¦ã¿ããã¨æãã¾ãã Controller class TopController < ApplicationController def index end end [/ruby] <p> æ¤è¨¼ç¨ãªã®ã§ãControllerã¯ä½ãããã以
{{#tags}}- {{label}}
{{/tags}}