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.2"

Class Method Summary collapse

Class Method Details

.configurationObject



24
25
26
# File 'lib/path_rewrite/configuration.rb', line 24

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

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

Yields:



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

def self.configure
  yield configuration
end