From 2b290f4994102cb6789eec99c45bc0cedfa81abf Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0tefan=20Baebler?= Date: Sun, 14 Jun 2009 07:27:24 +0000 Subject: [PATCH] cleanup --- app/controllers/diary_entry_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index db7fbe6a0..22ff69d2b 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -69,7 +69,6 @@ class DiaryEntryController < ApplicationController render :action => 'no_such_user', :status => :not_found end elsif params[:language] -# @title = t 'diary_entry.list.in_language_title', :language => Language.find(params[:language]).english_name @title = t 'diary_entry.list.in_language_title', :language => I18nData.languages(I18n.locale)[params[:language].upcase] @entry_pages, @entries = paginate(:diary_entries, :include => :user, :conditions => ["users.visible = ? AND diary_entries.language_code = ?", true, params[:language]], -- 2.43.2