Download
Desenvolver
Conta
Download
Desenvolver
Login
Forgot Account/Password
Criar Conta
Linguagem
Ajuda
Linguagem
Ajuda
×
Login
Nome de acesso
Senha
×
Forgot Account/Password
Estado tradução de Português
Category:
Software
People
PersonalForge
Magazine
Wiki
Pesquisa
OSDN
>
Pesquisar Software
>
Internet
>
WWW/HTTP
>
Dynamic Content
>
CMS
>
ぺったんR
>
Wiki
>
DemandersIndex
ぺったんR
Fork
pettanr
clientJs
Descrição
Project Summary
Developer Dashboard
Página da Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Histórico
Downloads
List of Releases
Stats
Código Fonte
Code Repository list
Git
pettanr
clientJs
Tíquete
Ticket List
Milestone List
Type List
Lista de componentes
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
Fóruns
List of Forums
Developers (1347)
Ajuda (1)
公開討議 (1)
Mailing Lists
list of ML
News
edit
|
Title Index
|
Recent Changes
|
最近の更新 (Recent Changes)
2015-10-25
YasushiIto
2015-10-19
Event
FrontPage
2015-09-19
PettanCommonLicense
2015-08-25
HowToSetOmniAuth
2015-08-19
WhatsPettan
2015-08-07
HowToUseHeroku
2015-08-04
HowToInstall
2015-07-12
HowToInstallRmagick
2015-05-10
AboutYasapp
2015-04-02
ResourcePicturePictureSpec
ReferenceIndex
2015-02-07
ForDevelopers
2015-01-16
PanelEditor
2015-01-12
AboutManifest
2014-12-19
ManifestModel
2014-10-18
ManifestListGroup
ManifestSystemResources
2014-10-11
OriginalPictureSpec
2014-09-29
PictureSpec
2014-08-29
ManifestController
2014-08-27
ManifestProfiler
2014-07-13
SkypeMeeting
2014-06-21
ResourcePictureSpec
LicenseGroupSpec
2014-06-20
PictureModel
ResourcePictureModel
2014-06-19
OriginalPictureLicenseSpec
OriginalPictureLicenseGroupSpec
2014-06-16
PetanizeTemplate
Últimas Arquivo Comunicados
This Project Has Not Released Any Files
Wikiガイド(Guide)
Wikiの文法
リンクの種類と文法
ブロックプロセッサ
拡張文法
サイドバー
プロジェクトWikiでの広告設定
サイドバー (Side Bar)
このサイドバーについて
このサイドバーの編集
index @
DemandersController
借手メニュー
url
http://localhost:3000/demanders
解説
借手のための概要情報とメニューを表示する。
セッションまたは認証トークンから借手アカウントを特定する。
借手アカウントから借手を取得する。
取得したデータを返す。
urlパラメータ
POSTデータ
auth_token
外部からjsonで要求する場合、認証処置として認証トークンが必要。
戻り値
正常系
htmlのとき、ステータスコード200 OKとともに、テンプレートから起こしたページを返す。
参考:
DemandersIndexView
例外系
借手アカウントでサインインしてなかった。(Devise)
htmlなら、ステータスコード302 Foundを返すとともに、サインインを促すページ(/demand_users/sign_in)へ遷移する。
対象借手が存在しなかった。(
DemanderModel
)
htmlなら、ステータスコード302 Foundを返すとともに、プロフィール登録ページ(/demanders/edit)へ遷移する。