Module: Mache::Helpers::Rails::Routes

Defined in:
lib/mache/helpers/rails/routes.rb

Overview

The Routes module can be included into page object classes that support routing.

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
# File 'lib/mache/helpers/rails/routes.rb', line 7

def self.included(base)
  base.class_eval do
    include ::Rails.application.routes.url_helpers
  end
end