Update lib/smartlinks/base.rb