Permalink
Browse files

add a missing index regarding the snippets

  • Loading branch information...
did committed Jul 4, 2017
1 parent 40e90f4 commit 1d1ae38d073e2df84bbc22e1b227fce56fdf0215
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/models/locomotive/snippet.rb
@@ -20,6 +20,9 @@ class Snippet
## behaviours ##
slugify_from :name
## indexes ##
index site_id: 1, slug: 1
## methods ##
def touch_site_attribute

0 comments on commit 1d1ae38

Please sign in to comment.