Just to be clear, this is how the action looks: def download log = ActivityLog.find(params[:id]) if log send_file log.path else flash[:notice] = _("Log file \"#{params[:id]}\" was not found.") redirect_to :action => 'index' end end
Vit _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users