Sha256: ddd1fd1da22e64ba1f32a3e4dc0d5b0b8310b292ea0da21762f31da38d6ed7d4

Contents?: true

Size: 223 Bytes

Versions: 5

Compression:

Stored size: 223 Bytes

Contents

module PageNavigation
  module Routes
    
    def routes
      @routes
    end
    
    def routes=(routes)
      raise("You must provide a :default route") unless routes[:default]
      @routes = routes
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page_navigation-0.6 lib/page_navigation/routes.rb
page_navigation-0.5 lib/page_navigation/routes.rb
page_navigation-0.4 lib/page_navigation/routes.rb
page_navigation-0.3 lib/page_navigation/routes.rb
page_navigation-0.2 lib/page_navigation/routes.rb