openstreetmap-website/app/controllers
Tom Hughes 50fafa14f8 Improve zoom level selection when invoking Potlatch on an object
When invoking Potlatch on a node/way/relation object we should
normally have valid location information in the map parameters, so
use any zoom which is there if possible, otherwise fall back to an
object type specific default value.

Fixes #605.
2013-12-03 15:06:34 +00:00
..
amf_controller.rb Upgrade to http_accept_language 2.x 2013-09-24 20:22:44 +01:00
api_controller.rb Remove never actually used code from five years ago 2013-10-11 20:03:06 +01:00
application_controller.rb Don't offer iD on IE11 2013-11-30 17:53:42 +00:00
browse_controller.rb Make sure all pages using the map layout call require_oauth 2013-11-24 15:29:38 +00:00
changeset_controller.rb Support legacy bbox param on /history as well 2013-12-02 11:38:54 -08:00
diary_entry_controller.rb Fix bogus redirect on error 2013-10-15 18:18:49 +01:00
export_controller.rb Remove unused 2013-11-06 13:05:51 -08:00
geocoder_controller.rb Enable oauth for geocoder#search 2013-11-24 17:05:02 +00:00
message_controller.rb Replace attr_accessible with strong parameters 2013-09-21 11:35:46 +01:00
node_controller.rb Make the multi-get calls throw 400 errors on invalid input 2013-08-04 10:54:45 +01:00
notes_controller.rb Allow moderators to reopen hidden notes 2013-11-28 20:25:36 +00:00
oauth_clients_controller.rb Replace attr_accessible with strong parameters 2013-09-21 11:35:46 +01:00
oauth_controller.rb Tidy up the OAuth authorization screens 2013-11-30 12:25:22 +00:00
old_controller.rb Replace :nothing => true with :text => "" 2013-07-19 11:14:55 +01:00
old_node_controller.rb Removed lookup of current element in calls to history 2012-04-05 13:53:53 +01:00
old_relation_controller.rb Removed lookup of current element in calls to history 2012-04-05 13:53:53 +01:00
old_relation_member_controller.rb - add old_relation_controller and stuff so that relation history works. fixes #557. 2008-03-16 23:16:18 +00:00
old_way_controller.rb Removed lookup of current element in calls to history 2012-04-05 13:53:53 +01:00
old_way_node_controller.rb preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
redactions_controller.rb Set defaults properly on redaction model, and remove unnecessary 2012-04-05 13:53:32 +01:00
relation_controller.rb Make the multi-get calls throw 400 errors on invalid input 2013-08-04 10:54:45 +01:00
relation_member_controller.rb preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
search_controller.rb Replace :nothing => true with :text => "" 2013-07-19 11:14:55 +01:00
site_controller.rb Improve zoom level selection when invoking Potlatch on an object 2013-12-03 15:06:34 +00:00
swf_controller.rb Pass sql_for_area a BoundingBox object 2011-11-18 16:50:54 +00:00
trace_controller.rb Use gpx as the extension when we ask for /trace/N/data.gpx 2013-10-16 00:46:33 +01:00
tracepoint_controller.rb various gpx bits 2006-12-01 15:59:13 +00:00
tracetag_controller.rb add tags to gpx files 2006-12-06 17:10:59 +00:00
user_blocks_controller.rb Replace attr_accessible with strong parameters 2013-09-21 11:35:46 +01:00
user_controller.rb Remove the _osm_username cookie and session validation logic 2013-11-17 21:52:39 +00:00
user_preference_controller.rb Replace :nothing => true with :text => "" 2013-07-19 11:14:55 +01:00
user_roles_controller.rb Replace attr_accessible with strong parameters 2013-09-21 11:35:46 +01:00
way_controller.rb Make the multi-get calls throw 400 errors on invalid input 2013-08-04 10:54:45 +01:00
way_node_controller.rb preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00