lib/generators/templates/mockable.rb in mock_graphql_ai-1.0.3 vs lib/generators/templates/mockable.rb in mock_graphql_ai-1.0.4
- old
+ new
@@ -2,8 +2,8 @@
module Mockable
private
def bypass_graphql
- redirect_to(imitate_path(query: params[:query]))
+ redirect_to(imitate_graphql_path(query: params[:query]))
end
end
\ No newline at end of file