app/controllers/search_keywords_controller.rb in solarsearch-0.0.6 vs app/controllers/search_keywords_controller.rb in solarsearch-0.0.9
- old
+ new
@@ -19,10 +19,11 @@
@search_keywords = watched_user.search_keywords
end
def newsupdate
page = (params[:page] || 1).to_i
- @articles = current_user.collect_recent_articles.paginate(:page => page, :per_page => Article.per_page)
+ @articles = current_user.collect_recent_articles.paginate(:page => page,
+ :per_page => Article.per_page)
end
def postnews
flash[:notice] = current_user.post_recent_news ? \
t(:news_were_posted_flash) : t(:no_news_were_posted_flash)