Sha256: 4a45debd471d02bbaa8327bac784300c9fb1b6846f9450daa7b5eedb07e00f19
Contents?: true
Size: 1.23 KB
Versions: 16
Compression:
Stored size: 1.23 KB
Contents
SocialNetworking::Engine.routes.draw do # client interfaces get "/profile_page", to: "profile_pages#show", as: :social_networking_profile get "/profile_page/:id", to: "profile_pages#show", as: :social_networking_profile_with_id get "/profiles_page", to: "profile_pages#index", as: :social_networking_profiles get "/profiles_page/participant/:participant_id/page/:page", to: "profile_pages#page" # server api put "profiles/:id", to: "profiles#update", as: :profile resources :profiles, only: [:index, :show] resources :participants, only: [:index, :show] resources :nudges, only: [:create, :index] resources :on_the_mind_statements, only: :create resources :goals, only: [:index, :create] post "goals/:id", to: "goals#update", as: :goal resource :home, only: :show resources :profile_answers, only: [:index, :show, :create] post "profile_answers/:id", to: "profile_answers#update" resources :comments, only: :create resources :likes, only: :create get "/templates/:path.html" => "templates#page", constraints: { path: /.+/ } post "profile_icons", to: "profile_icon#save" get "/shared_items/:id/hide", to: "shared_item#hide" get "/shared_items/participant/:participant_id/page/:page", to: "shared_item#page" end
Version data entries
16 entries across 16 versions & 1 rubygems