Skip to content

Commit

Permalink
raise routing error when washout builder blacklisted
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanRada committed Jun 21, 2016
1 parent 80f1b8e commit 147d2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -203,7 +203,7 @@ def check_env_available
if env_checker.available_for_env?(Rails.env)
yield
else
render :nothing => true, content_type: 'text/html'
raise ActionController::RoutingError
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/washout_builder/version.rb
Expand Up @@ -12,7 +12,7 @@ module VERSION
# the minor version of the gem
MINOR = 5
# the tiny version of the gem
TINY = 2
TINY = 3
# if the version should be a e
PRE = nil

Expand Down

0 comments on commit 147d2b5

Please sign in to comment.