Module: PathRewrite

Defined in:
lib/path_rewrite.rb,
lib/path_rewrite/engine.rb,
lib/path_rewrite/version.rb,
lib/path_rewrite/configuration.rb,
app/models/path_rewrite/path_translation.rb,
app/controllers/path_rewrite/path_controller.rb

Defined Under Namespace

Classes: Configuration, Engine, PathController, PathTranslation

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configurationObject



20
21
22
# File 'lib/path_rewrite/configuration.rb', line 20

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/path_rewrite/configuration.rb', line 16

def self.configure
  yield configuration
end