Project

General

Profile

Actions

Feature #5789

closed

add method for adding plugin routes to bastion

Added by Thomas McKay over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In order to have previously working angular plugin fixed, the following two edits were necessary (thanks @Eric Helms for assistance!):

$ git diff
WARNING: terminal is not fully functional
- (press RETURN)
diff --git a/engines/bastion/app/assets/javascripts/bastion/bastion.js b/engines/bastion/app/assets/jaindex 17db963..13d276b 100644
--- a/engines/bastion/app/assets/javascripts/bastion/bastion.js
+++ b/engines/bastion/app/assets/javascripts/bastion/bastion.js
@ -104,3 +104,5 @
//= require_tree "./activation-keys"

//= require "bastion/bastion-bootstrap" 

//= require "roles/roles"
diff --git a/engines/bastion/config/routes.rb b/engines/bastion/config/routes.rb
index 74d4046..ff1d6f4 100644
--- a/engines/bastion/config/routes.rb
++ b/engines/bastion/config/routes.rb
@ -12,6 +12,7 @ Bastion::Engine.routes.draw do
sync_plans
host_collections
katello_tasks
roles
]
end
Actions

Also available in: Atom PDF