File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import ajax from 'ic-ajax';
4
4
export default Ember . Route . extend ( {
5
5
6
6
model ( params ) {
7
- const requestedVersion = params . version_num ;
7
+ const requestedVersion = params . version_num === 'all' ? '' : params . version_num ;
8
8
9
9
const crate = this . modelFor ( 'crate' ) ;
10
10
const controller = this . controllerFor ( this . routeName ) ;
Original file line number Diff line number Diff line change 251
251
252
252
{{ #rl-dropdown id =" all-versions" tagName =" ul" class =" dropdown" closeOnChildClick =" a:link" }}
253
253
<li class =' all' >
254
- {{ #link-to ' crate.version' ' ' }} All Versions{{ /link-to }}
254
+ {{ #link-to ' crate.version' ' all ' }} All Versions{{ /link-to }}
255
255
</li >
256
256
{{ #each smallSortedVersions as |version |}}
257
257
<li >
You can’t perform that action at this time.
0 commit comments