Commit 3b45b958a252a8729c4f5d61e8aeb623b3c26475

Authored by Ábner Silva de Oliveira
1 parent eb08d340

reset pagination size to cms_controller

Showing 2 changed files with 8 additions and 1 deletions   Show diff stats
lib/cms_helper.rb
1   -module CmsHelper
  1 +require Rails.root + 'app/helpers/cms_helper'
2 2  
  3 +module CmsHelper
3 4 def link_to_article(article)
4 5 article_name = article.title
5 6 if article.folder?
... ...
lib/ext/cms_controller.rb 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +require Rails.root + 'app/controllers/my_profile/cms_controller'
  2 +class CmsController
  3 + def per_page
  4 + 30
  5 + end
  6 +end
... ...