Export Multiple Pages to TeX
Per a suggestion of Marco Gualtieri.
This commit is contained in:
parent
1c5df9e8b5
commit
aee4f8b3a9
9 changed files with 312 additions and 278 deletions
|
@ -138,15 +138,4 @@ class AdminController < ApplicationController
|
|||
redirect_to :back
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def is_post
|
||||
unless (request.post? || Rails.env.test?)
|
||||
headers['Allow'] = 'POST'
|
||||
render(:status => 405, :text => 'You must use an HTTP POST', :layout => 'error')
|
||||
return false
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue