Commit 64c6663c004b2df98201a4925bf05bbe52805220
1 parent
bae9d350
Exists in
gov-user-refactoring-rails4
gov-user: adapt limit override to core infra
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/noosfero-spb/gov_user/lib/gov_user_plugin.rb
@@ -272,7 +272,7 @@ class GovUserPlugin < Noosfero::Plugin | @@ -272,7 +272,7 @@ class GovUserPlugin < Noosfero::Plugin | ||
272 | @asset = class_name_underscored | 272 | @asset = class_name_underscored |
273 | @assets = [@asset] | 273 | @assets = [@asset] |
274 | @titles[class_name_underscored] = _("Institution Catalog") | 274 | @titles[class_name_underscored] = _("Institution Catalog") |
275 | - params[:limit] = 24 | 275 | + @limit = 24 |
276 | end | 276 | end |
277 | 277 | ||
278 | [{:name => 'institution', :block => block, :common_profile_list_block => class_name_underscored}] | 278 | [{:name => 'institution', :block => block, :common_profile_list_block => class_name_underscored}] |