Skip to content
Browse files

Find html.slim template also

  • Loading branch information...
1 parent 34db898 commit f60bb7461080bbe1c410865a31680da9a7ae62f0 @timurvafin timurvafin committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/high_voltage/constraints/root_route.rb
View
2 lib/high_voltage/constraints/root_route.rb
@@ -2,7 +2,7 @@ module HighVoltage
module Constraints
# Routing constraint to validate request.path has a corresponding view
class RootRoute
- VIEW_EXTENSIONS = 'html.erb,html.haml,html'
+ VIEW_EXTENSIONS = 'html.erb,html.haml,html.slim,html'
def self.matches?(request)
pattern = file_pattern(request.path)

0 comments on commit f60bb74

Please sign in to comment.
Something went wrong with that request. Please try again.