Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for Proc arity and Ruby 1.9

  • Loading branch information...
commit 0d84952509ef51ff2ff18d5aa9ae8a9a0ca26724 1 parent a60cc5b
@mhoran mhoran authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/high_voltage/pages_controller.rb
View
2  app/controllers/high_voltage/pages_controller.rb
@@ -1,7 +1,7 @@
class HighVoltage::PagesController < ApplicationController
unloadable
- layout Proc.new { HighVoltage::layout }
+ layout Proc.new { |_| HighVoltage::layout }
rescue_from ActionView::MissingTemplate do |exception|
if exception.message =~ %r{Missing template #{content_path}}
Please sign in to comment.
Something went wrong with that request. Please try again.