Sha256: 2ccf0cf66d4c65fe08eb3ffaab414e7e07064da96d14a508983c737248ae9cc4

Contents?: true

Size: 230 Bytes

Versions: 9

Compression:

Stored size: 230 Bytes

Contents

class ApplicationController < ActionController::Base
  include Consul::Controller

  require_power_check

  current_power do
    Power.new(User.new)
  end


  private

  def render_nothing
    render :nothing => true
  end
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
consul-0.9.1 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.9.0 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.8.0 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.7.0 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.6.1 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.6.0 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.5.0 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.4.2 spec/shared/app_root/app/controllers/application_controller.rb
consul-0.4.1 spec/shared/app_root/app/controllers/application_controller.rb