myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2440] branches/neiss/app/controllers/maps_contro


From: noreply
Subject: [myexperiment-hackers] [2440] branches/neiss/app/controllers/maps_controller.rb: removed undefined escape call
Date: Tue, 22 Jun 2010 10:56:22 -0400 (EDT)

Revision
2440
Author
dgc
Date
2010-06-22 10:56:22 -0400 (Tue, 22 Jun 2010)

Log Message

removed undefined escape call

Modified Paths

Diff

Modified: branches/neiss/app/controllers/maps_controller.rb (2439 => 2440)


--- branches/neiss/app/controllers/maps_controller.rb	2010-06-22 14:49:43 UTC (rev 2439)
+++ branches/neiss/app/controllers/maps_controller.rb	2010-06-22 14:56:22 UTC (rev 2440)
@@ -240,7 +240,7 @@
   def explore
     respond_to do |format|
       format.html {
-        @extra_head_content = "<script src="" @map.api_key}\" type=\"text/_javascript_\"></script>"
+        @extra_head_content = "<script src="" type=\"text/_javascript_\"></script>"
         # explore.rhtml
       }
     end
@@ -250,8 +250,7 @@
   
   def find_map_auth
     begin
-      map = Map.find(params[:id])
-      
+      map = Map.find(params[:id]) 
       if Authorization.is_authorized?(action_name, nil, map, current_user)
         @map = map
         

reply via email to

[Prev in Thread] Current Thread [Next in Thread]