Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing template when using respond_with #187

Closed
heaven opened this issue Jan 4, 2018 · 1 comment
Closed

Missing template when using respond_with #187

heaven opened this issue Jan 4, 2018 · 1 comment

Comments

@heaven
Copy link

heaven commented Jan 4, 2018

class Api::Wego::V1::ExpertsController < Api::Wego::V1Controller
  load_resource

  respond_to :json

  def featured
    respond_with(@experts)
  end
end

Resulting in a Missing template error trying to find featured.json.

Responders 2.4.0
Rails 5.1.4

@heaven
Copy link
Author

heaven commented Jan 4, 2018

Sorry, two-factor authentication caused this.

@heaven heaven closed this as completed Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant