Sha256: 1144089f9ae3ae8a691479b7fb7a9683702d93500f996d3843ac0e525cc1348c
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
module RailsConnector module EditingHelper def include_editing_stylesheet if inplace_editing_allowed? stylesheet_link_tag :infopark_editing end end def include_editing_javascript if inplace_editing_allowed? raw <<-EOF #{javascript_include_tag(:infopark_editing)} #{javascript_tag('$(function() { infopark.editing.initialize(); });')} EOF end end def inplace_editing_allowed? Configuration.editing_auth_callback.call(request.env) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
infopark_cloud_connector-6.8.3.174.51542603 | app/helpers/rails_connector/editing_helper.rb |
infopark_cloud_connector-6.8.3.115.227021242 | app/helpers/rails_connector/editing_helper.rb |