Permalink
Browse files

make similar call faster

  • Loading branch information...
peh committed Feb 27, 2017
1 parent 3f96cb5 commit d6f8bfc9c0a3a65e64270888f5d959ad43b5eb70
Showing with 1 addition and 2 deletions.
  1. +1 −1 grails-app/controllers/errbuddy/EntryGroupController.groovy
  2. +0 −1 webpack.prod.config.js
@@ -105,7 +105,7 @@ class EntryGroupController extends AbstractApiController {
def similar() {
sanitizeParams()
params.order = params.order ?: 'desc'
params.sort = params.sort ?: 'time'
params.sort = params.sort ?: 'id'
// we are checking EntryGroup and Entry here.
withEntryGroup(params.id.toString()) { EntryGroup entryGroup ->
View
@@ -51,7 +51,6 @@ module.exports = function (entry, output) {
jQuery: 'jquery',
$: 'jquery'
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
}),

0 comments on commit d6f8bfc

Please sign in to comment.