app/controllers/reader_activations_controller.rb in radiant-reader-extension-3.0.20 vs app/controllers/reader_activations_controller.rb in radiant-reader-extension-3.0.23
- old
+ new
@@ -46,10 +46,10 @@
@reader = Reader.find_by_id_and_perishable_token(params[:id], params[:activation_code])
end
def check_reader_inactive
if @reader && @reader.activated?
- flash[:notice] = t('reader_extension.hello').titlecase + " #{@reader.name}! " + t('reader_extension.already_active')
+ flash[:notice] = t('reader_extension.hello').titlecase + " #{@reader.preferred_name}! " + t('reader_extension.already_active')
redirect_back_or_to default_welcome_url(@reader)
false
end
end