canvas-lms/app/views
Ryan Florence 929fea181b added js_env view/controller helper
this helper is the mechanism to send data from
rails to the JavaScript w/o requiring an xhr
or dumping data into the DOM and pulling it back
out /barf

you can call it from a view or a controller

test case:
1. call `js_env :FOO => 'bar'` in a view or
   in a controller
2. load the page
3. open the web console and inspect the ENV
   global JavaScript variable
4. ENV.FOO should be 'bar', wassupnow?

Change-Id: Ie079ba0ee610fc6a9e837cd1301ee29b08201e65
Reviewed-on: https://gerrit.instructure.com/8170
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2012-01-19 16:10:19 -07:00
..
account_authorization_configs show login label on "add user" screen for cas/saml users; fixes #6120 2011-10-31 14:03:26 -06:00
accounts fix course creation message. fixes #6854 2012-01-12 17:03:59 -07:00
alerts alerts, closes #4317 2011-08-24 10:19:44 -06:00
announcements fix some pageless calls (switching to $.parseJSON) 2011-11-29 15:25:39 -07:00
assignments replace usage of Date.today 2011-12-20 15:25:45 -07:00
calendar_events i18n CalendarEvent 2011-06-16 07:36:55 -06:00
calendars calendar2 and scheduler front-end; refs #3395 2012-01-06 13:15:37 -07:00
collaborations expose sortable name to user, fixes #5317 2011-10-31 12:22:08 -06:00
communication_channels search for communication channels case insensitively fixes #6750 2011-12-30 19:36:29 -07:00
conferences expose sortable name to user, fixes #5317 2011-10-31 12:22:08 -06:00
content_exports fix downloading content exports with local storage + safefiles 2011-06-24 08:30:54 -06:00
content_imports improve errors on content migrations list 2012-01-10 13:04:13 -07:00
context fix spelling of "privileges" in enrollments. 2011-12-19 16:48:42 -07:00
context_modules option to open BLTI links in a new tab 2011-10-07 13:44:52 -06:00
conversations pull user information from server in conversation user_id links 2011-12-08 12:47:13 -07:00
courses add ability to add designers on course settings page 2012-01-16 14:19:22 -07:00
discussion_topics fix some pageless calls (switching to $.parseJSON) 2011-11-29 15:25:39 -07:00
eportfolios fix flickr image search in eportfolios; fixes #5198 2011-08-09 08:12:19 -06:00
errors remove the error reports search form from the show action 2011-09-12 14:38:36 -06:00
external_content external tool resource selector in WYSIWYG editor 2011-11-22 16:12:12 -07:00
external_tools xml config for blti extensions 2011-12-29 15:10:48 -07:00
facebook misc view i18n 2011-07-07 10:37:38 -06:00
files prompt to overwrite/rename new files with duplicate names; refs #5131 2011-08-16 09:15:03 -06:00
getting_started enforce course creation permissions fixes #5188 2011-08-15 16:10:48 -06:00
gradebook2 fix include_ungraded_assignments behavior of gradebook2 2012-01-17 09:47:11 -07:00
gradebook_uploads optimize gradebook uploads refs #6088 2011-12-08 16:15:44 -07:00
gradebooks help dialog overhaul fixes: #5784 2012-01-05 09:19:42 -07:00
grading_standards i18n groups and grading_standards, plus i18n.js count fu 2011-06-14 12:22:31 -06:00
groups disable 'randomly assign students' for restricted self-signup groups 2011-11-04 12:25:44 -06:00
jobs upgrade slickgrid 2011-12-28 09:05:12 -07:00
jst show muted assignment indicator in gradebook2 2012-01-19 12:39:51 -07:00
layouts added js_env view/controller helper 2012-01-19 16:10:19 -07:00
outcomes fix sorting on outcomes page. fixes #4670. 2011-11-10 13:08:10 -07:00
page_views fix first page of user page views having the wrong per_page 2011-10-15 12:07:12 -06:00
plugins cleaning up grade exchange 2011-12-09 13:45:19 -07:00
profile fix changing default e-mail when editing username is disabled 2012-01-06 15:40:55 -07:00
pseudonym_sessions take header off mobile login screen 2011-11-21 14:10:28 -07:00
pseudonyms refactor user creation/invitations closes #5833 2011-10-24 12:07:08 -06:00
question_banks show all questions in move question list. fixes #3594 2011-10-18 08:45:31 -06:00
quiz_submissions i18n quiz submissions 2011-06-20 10:28:36 -06:00
quizzes add option to send notifications for quizzes. fixes #2416. 2012-01-10 12:25:20 -07:00
role_overrides use /accounts/:id/permissions rather than /accounts/:id/role_overrides 2011-08-31 10:19:57 -06:00
rubrics Quiz statistics selenium test. Fix selenium tests. 2011-10-07 12:20:35 -06:00
search Initial commit. 2011-01-31 18:57:29 -07:00
sections add specific permissions for concluding courses, and managing sections 2011-12-07 10:57:04 -07:00
shared moved rubric criterion comments fixes #6659 2012-01-16 20:31:36 -07:00
sub_accounts optimize sub_accounts page 2011-08-26 16:16:56 -06:00
submissions don't leak muted assignment data (fixes #6321) 2011-12-10 06:08:16 -07:00
terms term start/term end, rather than whenever 2011-09-13 15:20:15 -06:00
user_notes misc view i18n 2011-07-07 10:37:38 -06:00
users drop unused user.creation_* columns 2012-01-10 10:49:49 -07:00
wiki_page_revisions wiki pages i18n 2011-06-17 09:32:36 -06:00
wiki_pages fix some pageless calls (switching to $.parseJSON) 2011-11-29 15:25:39 -07:00
zip_file_imports Initial commit. 2011-01-31 18:57:29 -07:00