]> git.openstreetmap.org Git - rails.git/commitdiff
cleanup
authorŠtefan Baebler <stefan.baebler@gmail.com>
Sun, 14 Jun 2009 07:27:24 +0000 (07:27 +0000)
committerŠtefan Baebler <stefan.baebler@gmail.com>
Sun, 14 Jun 2009 07:27:24 +0000 (07:27 +0000)
app/controllers/diary_entry_controller.rb

index db7fbe6a01bb166a0868399258db231bed9d7dd6..22ff69d2b09b83d56e688e0a440a0aa48c1e2f87 100644 (file)
@@ -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]],