lib/mystro-volley/plugin.rb in mystro-volley-0.1.0.rc3 vs lib/mystro-volley/plugin.rb in mystro-volley-0.1.0
- old
+ new
@@ -4,17 +4,23 @@
module Mystro
module Plugin
module Volley
include Mystro::Plugin::Base
- register ui: "/plugins/volley",
- schedule: {
- volley: "*/10 * * * *",
- },
- jobs: [
- "Jobs::Volley::Update",
- "Jobs::Volley::Meta"
- ]
+ register(
+ ui: {
+ latest: "/plugins/volley",
+ browser: "/plugins/volley/browser",
+ projects: "/plugins/volley/projects",
+ },
+ schedule: {
+ volley: "*/10 * * * *",
+ },
+ jobs: [
+ "Jobs::Volley::Update",
+ "Jobs::Volley::Meta"
+ ]
+ )
class << self
def configure
@config ||= config_for self
::Volley::Dsl::VolleyFile.load("config/volley/volleyfile", primary: true)