Add iD editor
iD sources live in vendor/assets/iD, and are managed with vendorer, using the "rewrite" functionality to replace relative paths in the CSS with <%= asset_path(…) %> directives. To avoid needing to namespace all of its CSS classes, iD is embedded via an iframe. To setup, edit application.yml to include an `id_key` key. (It can use the same consumer key as P2 if you like.)
This commit is contained in:
parent
2c8ed19553
commit
7a98913d0c
59 changed files with 77628 additions and 2 deletions
|
@ -62,6 +62,7 @@ OpenStreetMap::Application.configure do
|
|||
config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css )
|
||||
config.assets.precompile += %w( browse.css leaflet-all.css leaflet.ie.css )
|
||||
config.assets.precompile += %w( embed.js embed.css )
|
||||
config.assets.precompile += %w( iD.js iD.css )
|
||||
|
||||
# Disable delivery errors, bad email addresses will be ignored
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue