Skip to content

Commit

Permalink
Find html.slim template also
Browse files Browse the repository at this point in the history
  • Loading branch information
timurvafin committed Nov 1, 2012
1 parent 34db898 commit f60bb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/high_voltage/constraints/root_route.rb
Expand Up @@ -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)
Expand Down

0 comments on commit f60bb74

Please sign in to comment.