Skip to content

Commit

Permalink
Merge pull request #94 from acquia/AllowControllerConfigAccess
Browse files Browse the repository at this point in the history
Allow access to the ControllerConfig object via Controller#config.
  • Loading branch information
askreet committed May 12, 2016
2 parents 0dbe022 + dac8752 commit 08eceb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/moonshot/controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module Moonshot
# The Controller coordinates and performs all Moonshot actions.
class Controller # rubocop:disable ClassLength
attr_reader :config

def initialize
@config = ControllerConfig.new
yield @config if block_given?
Expand Down

0 comments on commit 08eceb2

Please sign in to comment.