File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ export default Ember.Route.extend({
8
8
return model . get ( 'version' ) ;
9
9
} ,
10
10
11
- async model ( params ) {
12
- const id = `${ params . project } -${ params . project_version } ` ;
13
- this . get ( 'projectService' ) . setVersion ( params . project_version ) ;
14
- await this . store . findRecord ( 'project' , params . project ) ;
11
+ async model ( { project , project_version } ) {
12
+ const id = `${ project } -${ project_version } ` ;
13
+ this . get ( 'projectService' ) . setVersion ( project_version ) ;
14
+ await this . store . findRecord ( 'project' , project ) ;
15
15
return this . store . findRecord ( 'project-version' , id , { includes : 'project' } ) ;
16
16
} ,
17
17
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ module.exports = function(environment) {
62
62
ENV . contentSecurityPolicy = {
63
63
"default-src" : "'self' *.fastly.net" ,
64
64
"connect-src" : "'self' *.algolia.net *.algolianet.com *.fastly.net" ,
65
- "script-src" : "'self' unsafe-inline use.typekit.net 'sha256-MNuF6TzV3gmv/+u8a3VX42UzW4hLNNj8hfFTcdh9jDM =' *.fastly.net https://www.google-analytics.com" ,
65
+ "script-src" : "'self' unsafe-inline use.typekit.net 'sha256-lKBtcUDKd1YsXApz3zgfFp4g7TuIVPSsYg/ic+77Ljo =' *.fastly.net https://www.google-analytics.com" ,
66
66
"font-src" : "'self' data://* https://fonts.gstatic.com *.fastly.net" ,
67
67
"img-src" : "'self' data://* *.fastly.net https://www.google-analytics.com" ,
68
68
"style-src" : "'self' 'unsafe-inline' https://fonts.googleapis.com *.fastly.net"
You can’t perform that action at this time.
0 commit comments