plugins/main/main.rb in rsence-pre-2.1.0.9 vs plugins/main/main.rb in rsence-pre-2.1.0.10
- old
+ new
@@ -81,9 +81,19 @@
# url_responder always accepts locations
return true
end
+ # Returns base url of browser (before the '#' sign)
+ def url( msg )
+ get_ses( msg )[:url][0]
+ end
+
+ # Returns pound url of browser (after the '#' sign)
+ def pound( msg )
+ get_ses( msg )[:url][1]
+ end
+
# @private new session initialization, called just once per session.
def init_ses(msg)
super
restore_ses( msg )