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
endVit _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
