Skip to content

Commit

Permalink
fixed hoboPagePath js
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Oct 14, 2010
1 parent 3ae774c commit 7face81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/rapid/taglibs/rapid_core.dryml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Provides a short hand way of displaying images in public/images
res << "var pluralisations = {#{names * ', '}}; "
end
base = [base_url, subsite].compact.join("/")
res << "urlBase = '#{base}'; hoboPagePath = '#{view_name}'"
res << "urlBase = '#{base}'; hoboPagePath = '#{request.fullpath}'"
if protect_against_forgery?
res << "; formAuthToken = { name: '#{request_forgery_protection_token}', value: '#{form_authenticity_token}' }"
end
Expand Down

0 comments on commit 7face81

Please sign in to comment.