Skip to content

Commit

Permalink
Committed the changes as mentioned in the issue #9120 (#9122)
Browse files Browse the repository at this point in the history
Added 3 lines consisting of footer message.
  • Loading branch information
HaardikBhagtani authored Feb 3, 2021
1 parent 97247e3 commit 56ef498
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,6 @@
# create a bunch of random tags
tagnames = ['one', 'two', 'three', 'four', 'five', 'six']
80.times { try { Node.find(rand(Node.count-2)+1).add_tag(tagnames[rand(tagnames.length-1)],User.first) } }

# Create a footer message
footer_feature = Node.create! "type"=>"feature", "title"=>"footer-notice", "uid"=>admin.id
Revision.create! "nid"=>footer_feature.nid, "uid"=>admin.uid, "title"=>"footer-notice", "body"=>"The footer is empty during local development", "teaser"=>"", "log"=>"", "format"=>1

0 comments on commit 56ef498

Please sign in to comment.