Description:
before upgrading to rails 5.2
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r749:6336d013fbfd - - 2 files changed: 3 inserted, 2 deleted

@@ -1,15 +1,15
1 1 %h1 Bulk Manage User
2 2
3 - = form_tag bulk_manage_user_admin_path
3 + = form_tag bulk_manage_user_admin_index_path
4 4 .row
5 5 .col-md-6
6 6 .panel.panel-primary
7 7 .panel-title.panel-heading
8 8 Filter User
9 9 .panel-body
10 10 Filtering users whose login match the following MySQL regex
11 11 .form-group
12 12 = label_tag "regex", 'Regex Pattern'
13 13 = text_field_tag "regex", params[:regex], class: 'form-control'
14 14 %p
15 15 Example
@@ -82,32 +82,33
82 82 end
83 83 collection do
84 84 get 'prob/:problem_id', to: 'submissions#index', as: 'problem'
85 85 get 'direct_edit_problem/:problem_id(/:user_id)', to: 'submissions#direct_edit_problem', as: 'direct_edit_problem'
86 86 get 'get_latest_submission_status/:uid/:pid', to: 'submissions#get_latest_submission_status', as: 'get_latest_submission_status'
87 87 end
88 88 end
89 89
90 90
91 91 #user admin
92 92 resources :user_admin do
93 93 collection do
94 - get 'bulk_manage'
94 + match 'bulk_manage', via: [:get, :post]
95 95 get 'user_stat'
96 96 get 'import'
97 97 get 'new_list'
98 98 get 'admin'
99 99 get 'random_all_passwords'
100 100 get 'active'
101 101 get 'mass_mailing'
102 + match 'create_from_list', via: [:get, :post]
102 103 end
103 104 member do
104 105 get 'clear_last_ip'
105 106 end
106 107 end
107 108
108 109 resources :contest_management, only: [:index] do
109 110 collection do
110 111 get 'user_stat'
111 112 get 'clear_stat'
112 113 get 'clear_all_stat'
113 114 end
You need to be logged in to leave comments. Login now