やっているhttp://localhost:3000/options/audio
そして、私はエラーが発生します:
Missing template options/audio, application/audio with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: * "/Users/mmahalwy/Desktop/Code/quran.com/QuranAPI/app/views"
私がする時http://localhost:3000/options/audio.json
これにより、Jbuilder ファイルと目的の json がレンダリングされます。jbuilder テンプレートを .json 拡張子でレンダリングするにはどうすればよいですか?