In the heroku logs I see the following.
app[web.1]: Started GET "/tags/1" ...
app[web.1]: Processing by TagsController#show as HTML
app[web.1]: Parameters: {"id"=>"1"}
app[web.1]: Tag Load (1.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = 1ドル LIMIT 2ドル [["id", 1], ["LIMIT", 1]]
app[web.1]: Completed 406 Not Acceptable in 7ms (ActiveRecord: 1.2ms)
app[web.1]: ActionController::UnknownFormat (TagsController#show is missing a template for this request format and variant.
app[web.1]: request.formats: ["text/html"]
app[web.1]: request.variant: []
In dev env the page is rendering fine and I don't see the error.
> ls app/views/tags
_form.html.haml new.html.haml show.html.haml
Controller
class TagsController < ApplicationController
before_action :authenticate_user!, except: :show
def show
@tag = Tag.find(params[:id].to_i)
end
...
default
showaction? Seems like it is not HTML.show.html.haml. Can you confirm it again thatshow.html.hamlis present inside theapp/views/tags?