Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mariovisic committed Jan 14, 2012
2 parents a0d02b2 + 81b89ba commit 14fc4bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/content_instance.rb
Expand Up @@ -104,6 +104,7 @@ def slug_already_taken?
def set_visibility
field = self.content_type.content_custom_fields.detect { |f| %w{visible active}.include?(f._alias) }
self._visible = self.send(field._name) rescue true
true
end

def add_to_list_bottom
Expand Down

0 comments on commit 14fc4bf

Please sign in to comment.