lib/bhf/view_helpers.rb in bhf-0.4.9 vs lib/bhf/view_helpers.rb in bhf-0.4.10
- old
+ new
@@ -1,9 +1,9 @@
module Bhf
module ViewHelpers
module ActionView
- def bhf_edit(object, options = {}) # TODO: block of html for custom editing buttons and links
+ def bhf_edit(object, options = {}) # TODO: add a block of html for custom editing buttons and links
return unless session[Bhf::Engine.config.session_auth_name.to_s] == true
options[:platform_name] ||= object.class.to_s.pluralize.downcase
if object.respond_to?(:'bhf_can_edit?', true)
\ No newline at end of file