canvas-lms/config/initializers
Jon Jensen 5fce495916 don't attempt to set the i18n scope if the template has no virtual path
this ensures 404 pages don't result in 500 pages

test plan:
1. go to /assets/common_legacy_normal_contrast.js
2. you should see a 404 page instead of a 500 page

Change-Id: I710c05fdf97b6f5ff337706798cad415fedc4bc3
Reviewed-on: https://gerrit.instructure.com/39570
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
2014-08-20 18:47:41 +00:00
..
action_pack.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
active_model_errors.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
active_record.rb fix update/delete with multiple joins in rails 3 2014-08-12 18:13:46 +00:00
adheres_to_policy.rb make permission_cache_key_for shard aware 2014-07-11 16:11:17 +00:00
authlogic_mods.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
aws_sdk.rb disable aws-sdk gem logging 2013-04-25 16:30:31 +00:00
backtrace_silencers.rb start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
barby.rb multi-factor authentication closes #9532 2012-08-16 13:09:07 -06:00
bookmarked_collection.rb extract bookmarked_collection gem 2014-04-17 18:16:13 +00:00
canvas_crummy.rb convert crummy plugin to proper gem 2014-01-30 18:30:15 +00:00
canvas_kaltura.rb canvas kaltura gem 2014-04-16 19:39:45 +00:00
canvas_sanitize.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
canvas_security.rb start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
canvas_statsd.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
client_app_symlinks.rb client app: canvas_quiz_statistics 2014-08-19 20:09:21 +00:00
coffee_script_sourcemaps_symlinks.rb allow people to opt out of coffee source maps 2014-05-20 22:55:05 +00:00
delayed_job.rb fix shard category for delayed jobs 2014-08-06 21:40:58 +00:00
dropped_columns.rb drop notification_policies.broadcast 2014-08-18 19:27:05 +00:00
event_stream.rb fix audit records as they are queried 2014-08-16 01:53:45 +00:00
facebook.rb moved Facebook code into gem 2014-05-05 22:32:15 +00:00
folio.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
google_docs.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
i18n.rb don't attempt to set the i18n scope if the template has no virtual path 2014-08-20 18:47:41 +00:00
icalendar.rb formatting for ICS calendar events 2012-07-02 11:05:48 -06:00
in-memory-test.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
incoming_mail.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
inflections.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
irb.rb log AR queries to script/console as well as the log file 2013-03-26 15:10:17 +00:00
json.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
linked_in.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
marginalia.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
mime_types.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
net_ldap.rb add more detailed errors to ldap tester 2012-08-17 14:31:41 -06:00
oauth.rb add lti2 launch endpoint 2014-08-08 19:45:17 +00:00
outgoing_mail.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
plugin_symlinks.rb upgraded requirejs to 2.1.10 2014-03-10 22:27:53 +00:00
rack.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
rack_mini_profiler.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
rails_patches.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
ruby_version_compat.rb remove some rails 2 vestigials 2014-08-13 14:52:30 +00:00
rubyzip.rb use rubyzip version 1.1.0 2014-03-12 12:20:22 +00:00
scribd_thumbnail.rb fix scribd initialization during boot 2013-10-30 16:41:04 +00:00
session_store.rb log unmarshalling errors in encrypted_cookie_store 2014-08-14 15:24:10 +00:00
shackles.rb don't use password from database.yml when overriding db user 2013-04-23 14:51:41 +00:00
sqlite_savepoint.rb make sure users and pseudonyms get added together 2011-06-14 10:46:54 -06:00
stubs.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
switchman.rb fix automatic activation of DJ category 2014-08-08 22:44:20 +00:00
time.rb Move time related code into canvas_time gem 2014-04-14 20:47:01 +00:00
tour.rb added tour guide libs 2013-05-22 19:30:13 +00:00
twitter.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00