controller – UrllinksController#create is missing a template for this request format and variant. request.formats: [“text/html”] request.variant: []

I have a controller for urllinks and home and have a view for create.js.erb. Showing error when I click on Create Short Link. Controllers/UrllinksController class UrllinksController < ApplicationController # is looking for instant variables that have been set # Using create method as a JS Endpoint # by rendering JS template back to the server … Read more