lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.8 vs lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.9
- old
+ new
@@ -61,9 +61,13 @@
scribd_doc.addParam("hide_disabled_buttons", true)
scribd_doc.write("embedded_flash#{id}");
</script>
END
end
+
+ def fullscreen_url
+ "http://www.scribd.com/fullscreen/#{ipaper_id}?access_key=#{ipaper_access_key}"
+ end
def ipaper_id
self.model.send("#{self.mounted_as.to_s}_ipaper_id")
end