Sha256: 430ee7b75e8d67e0a67040e640b2ca5e1da96eaabf5f732887a78a114bf34d92

Contents?: true

Size: 275 Bytes

Versions: 16

Compression:

Stored size: 275 Bytes

Contents

ActionController::Routing::Routes.draw do |map|

  # profiles
  map.resources :profiles, :controller => 'muck/profiles'
  map.resources :users, :has_one => :profile

  # admin
  map.namespace :admin do |a|
    a.resources :profiles, :controller => 'muck/profiles'
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
muck-profiles-0.1.18 config/muck_profiles_routes.rb
muck-profiles-0.1.17 config/muck_profiles_routes.rb
muck-profiles-0.1.16 config/muck_profiles_routes.rb
muck-profiles-0.1.15 config/muck_profiles_routes.rb
muck-profiles-0.1.14 config/muck_profiles_routes.rb
muck-profiles-0.1.13 config/muck_profiles_routes.rb
muck-profiles-0.1.12 config/muck_profiles_routes.rb
muck-profiles-0.1.11 config/muck_profiles_routes.rb
muck-profiles-0.1.10 config/muck_profiles_routes.rb
muck-profiles-0.1.7 config/muck_profiles_routes.rb
muck-profiles-0.1.8 config/muck_profiles_routes.rb
muck-profiles-0.1.9 config/muck_profiles_routes.rb
muck-profiles-0.1.3 config/muck_profiles_routes.rb
muck-profiles-0.1.4 config/muck_profiles_routes.rb
muck-profiles-0.1.5 config/muck_profiles_routes.rb
muck-profiles-0.1.6 config/muck_profiles_routes.rb