lib/caboodle/kits/linkedin/linkedin.rb in caboodle-0.2.14 vs lib/caboodle/kits/linkedin/linkedin.rb in caboodle-0.2.15
- old
+ new
@@ -15,19 +15,18 @@
end
class Linkedin < Caboodle::Kit
description "Displays a Linkedin profile as a CV with consistent layout with the rest of the site."
-
- menu "CV", "/cv" do
- @title = "Curriculum Vitae"
- @linkedin = LinkedinAPI.new #rescue nil
+
+ menu "CV" do
+ @linkedin = LinkedinAPI.new
haml :cv
end
required [:linkedin_full_name, :linkedin_profile_url]
- credit Caboodle::Site.linkedin_profile_url
+ credit Caboodle::Site.linkedin_profile_url, "Linkedin profile"
add_sass ["linkedin"]
end
end
\ No newline at end of file