Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def should_create_permalink?
- if self.class.permalink_options[:if]
- evaluate_method(self.class.permalink_options[:if])
- elsif self.class.permalink_options[:unless]
- !evaluate_method(self.class.permalink_options[:unless])
- else
- true
- end
- end
Add Comment
Please, Sign In to add comment