Commit af36638d813aaf54f1576f71b535b2459385ec0c
1 parent
948f4922
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Change tasks filter of 'get' to 'post' for a clean url
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/tasks/index.html.erb
test/functional/tasks_controller_test.rb
| ... | ... | @@ -50,7 +50,7 @@ class TasksControllerTest < ActionController::TestCase |
| 50 | 50 | login_as profile_admin.identifier |
| 51 | 51 | |
| 52 | 52 | #Perform a http request to 'search_task' action with params |
| 53 | - get :search_tasks, :filter_type =>'ModerateUserRegistration', :filter_text => 'Fak' | |
| 53 | + post :search_tasks, :filter_type =>'ModerateUserRegistration', :filter_text => 'Fak' | |
| 54 | 54 | |
| 55 | 55 | assert_response :success |
| 56 | 56 | ... | ... |