Commit c0e786385914481d4e017cd60d9e8a1a4aeff8ed

Authored by Rodrigo Souto
1 parent 1b7dcab6

Removing ApplicationHelper include from plugin

This causes the plugin to mistakenly answer to :comment_actions with
ApplicationHelper method.

(ActionItem2755)
plugins/google_analytics/lib/google_analytics_plugin.rb
... ... @@ -6,7 +6,6 @@ class GoogleAnalyticsPlugin < Noosfero::Plugin
6 6 include ActionView::Helpers::FormHelper
7 7 include ActionView::Helpers::UrlHelper
8 8 include ActionView::Helpers::TagHelper
9   - include ApplicationHelper
10 9  
11 10 def self.plugin_name
12 11 "Google Analytics"
... ...
plugins/google_analytics/views/profile-editor-extras.rhtml
  1 +<% extend ApplicationHelper %>
  2 +
1 3 <h2><%= _('Statistics') %></h2>
2 4 <%= labelled_form_field(_('Google Analytics Profile ID'), text_field(:profile_data, :google_analytics_profile_id, :value => profile_id)) %>
3 5 <%= link_to(_('See how to configure statistics for your profile'), '/doc/plugins/google_analytics', :target => '_blank') %>
... ...