Skip to content

Commit

Permalink
woring on json
Browse files Browse the repository at this point in the history
  • Loading branch information
xithan committed Jun 1, 2017
1 parent f34b03a commit c22f2d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion card/db/seed
Submodule seed updated from c8bedf to c7208f
4 changes: 2 additions & 2 deletions card/mod/basic_formats/set/all/json.rb
Expand Up @@ -75,8 +75,8 @@ def name_search query_attribute: :complete, limit: AUTOCOMPLETE_LIMIT

view :marks do
{
id: id,
name: name,
id: card.id,
name: card.name,
url: request_url
}
end
Expand Down
2 changes: 1 addition & 1 deletion card/mod/pointer/set/abstract/01_pointer.rb
Expand Up @@ -126,7 +126,7 @@ def max_depth

def essentials
return if @depth > max_depth
item_cards.map do |item|
card.item_cards.map do |item|
nest item, view: :essentials
end
end
Expand Down
2 changes: 1 addition & 1 deletion card/tmpsets

0 comments on commit c22f2d6

Please sign in to comment.