Extract determine_new_sort/2, update_sort_components/4, and push_sort_url/3
from handle_info({:sort, ...}). Reduces function from 46 to 7 lines.
|
||
|---|---|---|
| .. | ||
| form.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||
Extract determine_new_sort/2, update_sort_components/4, and push_sort_url/3
from handle_info({:sort, ...}). Reduces function from 46 to 7 lines.
|
||
|---|---|---|
| .. | ||
| form.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||