Some more tweaks to the tex_list feature

This commit is contained in:
Jacques Distler 2010-10-09 15:41:25 -05:00
parent 7f7182afea
commit 9c11c384d4
3 changed files with 10 additions and 1 deletions

View file

@ -198,6 +198,11 @@ EOL
else
@tex_content = 'TeX export only supported with the Markdown text filters.'
end
if @tex_content == ''
flash[:error] = "You didn't select any pages to export."
redirect_to :back
return
end
expire_action :controller => 'wiki', :web => @web.address, :action => 'list', :category => params['category']
render(:layout => 'tex')
end