canvas-lms/app/controllers
Cody Cutrer 1293920ed6 fix FoldersController#api_index pagination
@context is always nil. found by rails 3 specs

Change-Id: I37acb0edfc80987fa414f11bc338b07bebb79364
Reviewed-on: https://gerrit.instructure.com/30723
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-02-25 02:16:21 +00:00
..
filters namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quizzes integrate the active_model-better_errors gem 2014-02-21 17:09:53 +00:00
account_authorization_configs_controller.rb integrate the active_model-better_errors gem 2014-02-21 17:09:53 +00:00
account_notifications_controller.rb option to restrict global announcements by role 2014-01-09 19:54:21 +00:00
account_reports_controller.rb converting @object notation to @model - Part 1/11 2014-02-12 16:24:51 +00:00
accounts_controller.rb add sis_import_id to accounts api 2014-02-19 22:01:08 +00:00
admins_controller.rb converting @object notation to @model - Part 1/11 2014-02-12 16:24:51 +00:00
alerts_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
announcements_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
app_center_controller.rb cleanup per_page values for json pagination 2013-11-12 21:24:18 +00:00
application_controller.rb integrate the active_model-better_errors gem 2014-02-21 17:09:53 +00:00
appointment_groups_controller.rb converting @object notation to @model - Part 1/11 2014-02-12 16:24:51 +00:00
assessment_questions_controller.rb improve acts_as_list 2013-12-17 19:55:43 +00:00
assignment_groups_api_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
assignment_groups_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
assignment_overrides_controller.rb converting @object notation to @model - Part 2/11 2014-02-12 16:24:58 +00:00
assignments_api_controller.rb integrate the active_model-better_errors gem 2014-02-21 17:09:53 +00:00
assignments_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
auditor_api_controller.rb use base controller query_params method 2014-01-23 20:37:33 +00:00
authentication_audit_api_controller.rb converting @object notation to @model - Part 2/11 2014-02-12 16:24:58 +00:00
calendar_events_api_controller.rb inline only usage of Array#to_ics 2014-02-13 22:17:57 +00:00
calendar_events_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
calendars_controller.rb fix references to @template in controllers for rails 3 2014-02-11 21:35:26 +00:00
collaborations_controller.rb converting @object notation to @model - Part 3/11 2014-02-13 17:29:06 +00:00
comm_messages_api_controller.rb converting @object notation to @model - Part 3/11 2014-02-13 17:29:06 +00:00
communication_channels_controller.rb converting @object notation to @model - Part 3/11 2014-02-13 17:29:06 +00:00
conferences_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
content_exports_api_controller.rb converting @object notation to @model - Part 3/11 2014-02-13 17:29:06 +00:00
content_exports_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
content_imports_controller.rb converts content_imports/files js_block to js_bundle 2014-02-05 17:22:35 +00:00
content_migrations_controller.rb @undocumented warnings when generating yard docs 2014-02-12 23:06:18 +00:00
context_controller.rb inline only usage of Array#clump_per 2014-02-13 20:32:42 +00:00
context_module_items_api_controller.rb converting @object notation to @model - Part 4/11 2014-02-12 16:25:05 +00:00
context_modules_api_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
context_modules_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
conversations_controller.rb conversations: handle ghost conversations 2014-02-18 20:53:23 +00:00
course_audit_api_controller.rb course activity log allow courses to be searched regardless of state 2014-02-14 19:00:14 +00:00
courses_controller.rb use api_find for several cases in CoursesController 2014-02-19 09:45:19 -07:00
crocodoc_sessions_controller.rb fix crocodoc sessions controller for rails 3 specs 2014-02-11 16:05:05 +00:00
custom_gradebook_column_data_api_controller.rb converting @object notation to @model - Part 5/11 2014-02-12 16:25:12 +00:00
custom_gradebook_columns_api_controller.rb converting @object notation to @model - Part 5/11 2014-02-12 16:25:12 +00:00
developer_keys_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
discussion_entries_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
discussion_topics_api_controller.rb returns shard aware participant ids from discussion view api 2014-02-14 22:32:05 +00:00
discussion_topics_controller.rb integrate the active_model-better_errors gem 2014-02-21 17:09:53 +00:00
enrollments_api_controller.rb add sis_import_id to enrollments api 2014-02-21 08:04:02 +00:00
eportfolio_categories_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
eportfolio_entries_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
eportfolios_controller.rb fix eportfolios controller for rails 3 specs 2014-02-11 16:05:52 +00:00
equation_images_controller.rb make the codecogs equation base url a setting 2014-02-18 00:14:59 +00:00
errors_controller.rb order error reports by created_at, not id 2014-01-03 23:11:47 +00:00
external_content_controller.rb convert external_content/cancel js_block into js_bundle 2014-02-10 19:15:18 +00:00
external_feeds_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
external_tools_controller.rb removing unneccessary borderless launch template 2013-11-26 23:19:57 +00:00
facebook_controller.rb replace Array#once_per extension with #uniq 2014-02-13 18:53:05 +00:00
favorites_controller.rb converting @object notation to @model part 6/11 2014-02-12 16:20:24 +00:00
feature_flags_controller.rb converting @object notation to @model part 6/11 2014-02-12 16:20:24 +00:00
files_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
folders_controller.rb fix FoldersController#api_index pagination 2014-02-25 02:16:21 +00:00
grade_change_audit_api_controller.rb converting @object notation to @model part 6/11 2014-02-12 16:20:24 +00:00
gradebook2_controller.rb allow displaing total grade as points for students 2014-02-04 15:54:58 +00:00
gradebook_history_api_controller.rb converting @object notation to @model part 7/11 2014-02-12 16:20:52 +00:00
gradebook_uploads_controller.rb replace original_id attr_accessor with previous_id 2013-12-10 21:33:24 +00:00
gradebooks_controller.rb fix gradebooks_controller_spec for rails 3 2014-02-18 16:24:44 +00:00
grading_standards_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
group_categories_controller.rb converting @object notation to @model part 7/11 2014-02-12 16:20:52 +00:00
group_memberships_controller.rb add sis_import_id to group memberships api 2014-02-21 08:03:49 +00:00
groups_controller.rb add sis_import_id to groups api 2014-02-21 08:03:39 +00:00
info_controller.rb capture js stack trace when possible 2013-12-13 00:32:03 +00:00
jobs_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
lti_api_controller.rb require the rails-agnostic action pack file 2013-10-29 17:54:03 +00:00
media_objects_controller.rb change api doc examples to be https instead of http 2013-10-25 18:32:42 +00:00
media_tracks_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
messages_controller.rb improve robustness of incoming message processor 2013-04-29 14:47:09 +00:00
migration_issues_controller.rb converting @object notation to @model part 7/11 2014-02-12 16:20:52 +00:00
notification_preferences_controller.rb converting @object notation to @model part 8/11 2014-02-12 16:21:16 +00:00
outcome_groups_api_controller.rb converting @object notation to @model part 8/11 2014-02-12 16:21:16 +00:00
outcome_groups_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
outcome_results_controller.rb outcome results api can side load alignments 2014-02-21 17:48:06 +00:00
outcomes_api_controller.rb converting @object notation to @model part 8/11 2014-02-12 16:21:16 +00:00
outcomes_controller.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
page_comments_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
page_views_controller.rb inline only usage of Array#to_csv 2014-02-13 18:53:36 +00:00
plugins_controller.rb pass :all param in form and redirect 2013-06-14 22:15:38 +00:00
profile_controller.rb converting @object notation to @model part 9/11 2014-02-12 16:21:37 +00:00
progress_controller.rb converting @object notation to @model part 9/11 2014-02-12 16:21:37 +00:00
pseudonym_sessions_controller.rb fix pseudonym_sessions_controller_spec for rails 3 2014-02-19 21:09:27 +00:00
pseudonyms_controller.rb always use api_find, even for non api requests 2014-02-14 15:58:23 +00:00
question_banks_controller.rb create temporary records with .scoped.new for rails 3 compatibility 2014-02-20 20:55:11 +00:00
quiz_submission_questions_controller.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
role_overrides_controller.rb converting @object notation to @model part 10/11 2014-02-12 16:21:55 +00:00
rubric_assessments_controller.rb remove unused actions in rubric_assessments_controller 2014-02-14 19:50:11 +00:00
rubric_associations_controller.rb replace association with association_object in models 2014-01-24 16:35:40 +00:00
rubrics_controller.rb replace Array#once_per extension with #uniq 2014-02-13 18:53:05 +00:00
search_controller.rb Conversations: allow messages to groups in unpublished courses 2014-01-24 18:08:42 +00:00
sections_controller.rb add sis_import_id to sections api 2014-02-21 08:03:25 +00:00
self_enrollments_controller.rb self-enrollment API, fixes CNVS-10419 2014-01-15 21:17:04 +00:00
services_api_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
sis_imports_api_controller.rb converting @object notation to @model part 10/11 2014-02-12 16:21:55 +00:00
sub_accounts_controller.rb Update to Add Sub-Account API 2013-11-19 15:42:47 -05:00
submission_comments_api_controller.rb allow adding submission comments with attachments via the api 2013-12-04 20:38:38 +00:00
submission_comments_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
submissions_api_controller.rb converting @object notation to @model part 10/11 2014-02-12 16:21:55 +00:00
submissions_controller.rb converting @object notation to @model part 10/11 2014-02-12 16:21:55 +00:00
tabs_controller.rb converting @object notation to @model part 11/11 2014-02-12 15:55:10 +00:00
terms_api_controller.rb list enrollment term api 2014-02-04 20:51:38 +00:00
terms_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
tokens_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
tours_controller.rb added tour guide libs 2013-05-22 19:30:13 +00:00
user_lists_controller.rb Capture a users initial_enrollment_type when invited to a course. Fixes #10893 2012-10-04 14:26:15 -06:00
user_notes_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
users_controller.rb add sis_import_id to users api 2014-02-21 08:03:11 +00:00
wiki_page_revisions_controller.rb move draft state under feature flag umbrella 2013-11-26 20:43:49 +00:00
wiki_pages_api_controller.rb only set front page when front page changed 2014-02-19 18:51:48 +00:00
wiki_pages_controller.rb convert wiki_pages/_content js_block to js_bundle 2014-02-05 00:14:25 +00:00
zip_file_imports_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00