Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #27 from jacki3lene/39e3a43f523cf40fa85028611bab39…

…21557d781a

Fixed a bug on taggings_for_context
  • Loading branch information...
commit c5e5d50dba9149b42b603626799acbf0cc819761 2 parents 16461ca + 39e3a43
@bradphelan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rocket_tag/taggable.rb
View
4 lib/rocket_tag/taggable.rb
@@ -61,8 +61,8 @@ def setup_relations
end
end
- def taggings_for_context context
- taggings.where{taggings.context==context.to_s}
+ def taggings_for_context context_val
+ taggings.where{ taggings.context == context_val.to_s }
end
def destroy_tags_for_context context
Please sign in to comment.
Something went wrong with that request. Please try again.