Project

General

Profile

« Previous | Next » 

Revision 76cd46ce

Added by Ohad Levy almost 12 years ago

  • ID 76cd46ce9fc3990fc518f0663f9ed0fcd86669ed

corrected routes DSL

View differences:

config/routes/api/v1.rb
# config/routes/api/v1.rb
Rails.application.routes.draw do |map|
Foreman::Application.routes.draw do
namespace :api, :defaults => {:format => 'json'} do
scope :module => :v1, :constraints => ApiConstraints.new(:version => 1, :default => true) do

Also available in: Unified diff