Generated scaffolding for model via Rails

This commit is contained in:
Prelang Builder authored and u7482 committed 2014-02-27 23:58:57 +00:00
1 parent 9921d3b6d6
commit aec5ca5c47
14 files changed
+209

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
json.array!(@questions) do |question|
json.extract! question, :id, :title
json.url question_url(question, format: :json)
end