A lot :)
This commit is contained in:
parent
aad67af0d1
commit
63fc206c27
153 changed files with 2043 additions and 646 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<p>
|
||||
<strong>Description:</strong>
|
||||
<%= link_category.description_html %>
|
||||
<%= link_category.description %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
json.extract! link_category, :id, :name, :description, :rich_text, :created_at, :updated_at
|
||||
json.url link_category_url(link_category, format: :json)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<td><%= link_to(link_category.name, url_for(link_category)) %></td>
|
||||
|
||||
<td><%= link_to(link_category.description, url_for(link_category)) %></td>
|
||||
<td><%= link_to(truncate(link_category.description.to_plain_text), url_for(link_category)) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
json.array! @link_categories, partial: "link_categories/link_category", as: :link_category
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
json.partial! "link_categories/link_category", link_category: @link_category
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue