Skip to content

Commit

Permalink
Refs #33035 - Make js lints happy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Mar 12, 2024
1 parent 61a758f commit bb2c6c2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions webpack/helpers/pathsHelper.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { decodeModelId } from './globalIdHelper';
import { foremanUrl } from 'foremanReact/common/helpers';

import { decodeModelId } from './globalIdHelper';

const experimental = path => `/experimental${path}`;

const showPath = path => `${path}/:id`;
Expand All @@ -19,10 +20,14 @@ export const resolvePath = (path, params) =>

export const ovalContentsApiPath = '/api/v2/compliance/oval_contents';

export const ovalContentsPath = foremanUrl(experimental('/compliance/oval_contents'));
export const ovalContentsPath = foremanUrl(
experimental('/compliance/oval_contents')
);
export const ovalContentsShowPath = showPath(ovalContentsPath);
export const ovalContentsNewPath = newPath(ovalContentsPath);
export const ovalPoliciesPath = foremanUrl(experimental('/compliance/oval_policies'));
export const ovalPoliciesPath = foremanUrl(
experimental('/compliance/oval_policies')
);
export const ovalPoliciesShowPath = `${showPath(ovalPoliciesPath)}/:tab?`;
export const ovalPoliciesNewPath = newPath(ovalPoliciesPath);
export const hostsPath = foremanUrl('/hosts');
Expand Down

0 comments on commit bb2c6c2

Please sign in to comment.