We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14aa39 commit 06d349aCopy full SHA for 06d349a
1 file changed
app/controllers/cases_controller.rb
@@ -24,9 +24,7 @@ def list_all
24
object << { pointbox: c.determine_pointbox, case: c }
25
end
26
27
- respond_to do |format|
28
- format.json { render json: object }
29
- end
+ render json: object
30
31
32
def new
0 commit comments