app/views/maquina/application_view.rb in maquina-0.2.5 vs app/views/maquina/application_view.rb in maquina-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
module Maquina
module ApplicationView
include Maquina::Engine.routes.url_helpers
include Phlex::Rails::Helpers::T
- delegate :resource_class, :l, :default_url_options, :policy_class, :allowed_to?, to: :helpers
+ delegate :resource_class, :l, :default_url_options, :policy_class, :show_link, :allowed_to?, to: :helpers
# TODO: Revisit this later
def image_tag(source, options = {})
unsafe_raw helpers.image_tag(source, **options)
end