Skip to content

Commit

Permalink
Adding shortitle
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGrail committed Nov 7, 2012
1 parent 661e0e9 commit d100c72
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/inports/ezpub/general_content.rb
Expand Up @@ -83,12 +83,9 @@ def self.store(path)
short_title = generate_short_title(title, path)

if short_title
$r.hset path, 'field_title', short_title
else
$r.hset path, 'field_title', 'UNKNOWN TITLE'
$r.hset path, 'field_short_title', short_title
end


body = get_body(@doc, path)

if body
Expand Down

0 comments on commit d100c72

Please sign in to comment.