Skip to content

Commit

Permalink
Merge pull request #20 from gomore/master
Browse files Browse the repository at this point in the history
Namespace Configuration module
  • Loading branch information
carstengehling committed Dec 3, 2015
2 parents c2a8eea + e267d19 commit 21f5f9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/route_downcaser.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
require 'route_downcaser/downcase_route_middleware'
require 'route_downcaser/railtie' if defined? Rails
require 'configuration'
require 'route_downcaser/configuration'

module RouteDowncaser
extend Configuration
extend RouteDowncaser::Configuration

define_setting :redirect, false
define_setting :exclude_patterns, [/assets\//i]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Configuration
module RouteDowncaser::Configuration

def configuration
yield self
Expand Down

0 comments on commit 21f5f9a

Please sign in to comment.