lib/caboodle/kits/twitter/twitter.rb in caboodle-0.2.14 vs lib/caboodle/kits/twitter/twitter.rb in caboodle-0.2.15
- old
+ new
@@ -1,15 +1,11 @@
-module Caboodle
- class Twitter < Caboodle::Kit
- description "Display recent tweets from a given twitter account, with infinite scrolling for looking back in time."
- menu "Twitter", "/twitter" do
- @title = "Twitter"
- haml :twitter
- end
-
- required [:twitter_username]
-
- credit "http://twitter.com/#{Caboodle::Site.twitter_username}"
-
- add_sass ["twitter"]
- end
+class Caboodle::Twitter < Caboodle::Kit
+ description "Display recent tweets from a given twitter account, with infinite scrolling for looking back in time."
+
+ menu "Twitter"
+
+ required [:twitter_username]
+
+ credit "http://twitter.com/#{Caboodle::Site.twitter_username}", "Follow @#{Caboodle::Site.twitter_username} on Twitter"
+
+ add_sass ["twitter"]
end
\ No newline at end of file