Some more tweaks to the tex_list feature
This commit is contained in:
parent
7f7182afea
commit
9c11c384d4
3 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue