Sha256: 8fc791ebd5c9a41d6ffb42c15d51ca205ce2428c5b54932b73a2f8a20da6667c
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
module Lena # Extending the object that's returned from rails routing helpers (for # instance +main_app+ or +lena+) that allow calling specific URL helper # methods. module Routing def configuration return { 'data-lena-destination' => Rails.env.development? ? "local" : "", 'data-lena-url' => self.submission_path, } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lena-0.0.1 | lib/lena/routing.rb |