Campustream 1.0
A social network MQP for WPI
application/config/routes.php File Reference

Go to the source code of this file.

Variables

 $config ['debug/(flockdb|sphinx|phpinfo|rss|notify)'] = 'debug/$1'
 $config ['_default'] = 'home/index'
 $config ['session/new'] = 'session/new_action'
 $config ['session/create'] = 'session/create'
 $config ['session/destroy'] = 'session/destroy'
 $config ['session/twitter'] = 'session/twitter_login'
 $config ['session/twitter/finish'] = 'session/twitter_finish'
 $config ['confirm/wait'] = 'confirm/wait'
 $config ['confirm/do'] = 'confirm/do_action'
 $config ['twitter/create'] = 'twitter/create'
 $config ['twitter/new'] = 'twitter/new_action'
 $config ['twitter/destroy'] = 'twitter/destroy'
 $config ['facebook/(authorize|deauthorize)'] = 'facebook/$1'
 $config ['register'] = 'account.manage/register'
 $config ['login'] = 'account.manage/login'
 $config ['user/([A-Za-z0-9_]+)'] = 'user/show/username:$1'
 $config ['user/avatar/(small|medium|large)/([A-Za-z0-9_]+)'] = 'user/avatar/size:$1/username:$2'
 $config ['user/([A-Za-z0-9_]+)/follows'] = 'friendship/follows/user:$1'
 $config ['user/([A-Za-z0-9_]+)/followers'] = 'friendship/followers/user:$1'
 $config ['users'] = 'user/list_users'
 $config ['s/([A-Za-z0-9]+)'] = 'status/show/id:$1'
 $config ['news_events'] = 'news/index/type:all'
 $config ['news'] = 'news/index/type:news'
 $config ['news/([A-Za-z0-9_]+)'] = 'news/index/type:news/slug:$1'
 $config ['events'] = 'news/index/type:event'
 $config ['event/([A-Za-z0-9_]+)'] = 'news/index/type:event/slug:$1'
 $config ['ne/([A-Za-z0-9]+)'] = 'news/show/short_id:$1'
 $config ['news/new'] = 'news/new_action'
 $config ['collaborate'] = 'collaborate/index'
 $config ['collaborate/([A-Za-z_]+)'] = 'collaborate/show_section/section:$1'
 $config ['collaborate/q/([A-Za-z0-9]+)'] = 'collaborate/show/short_id:$1'
 $config ['messages'] = 'messaging/index'
 $config ['settings/(profile|services)'] = 'account.settings/index/page:$1'
 $config ['settings/service_hooks'] = 'account.settings/service_hooks'
 $config ['settings/profile_photo/(update|remove)'] = 'account.settings/profile_photo/action:$1'
 $config ['settings/update_profile'] = 'account.settings/update_profile'
 $config ['admin/stats'] = 'admin.stats/index'
 $config ['api/1/([A-Za-z_]+)/([A-Za-z_]+)'] = 'api.apiv1/dispatch/controller:$1/method:$2'
 $api ['user/authorize'] = 'user/authorize'
 $api ['users/(show)'] = 'user/$1'
 $api ['users/list'] = 'user/show_list'
 $api ['friendships/(show|create|destroy|followers|follows)'] = 'friendship/$1'
 $api ['statuses/(public_timeline|user_timeline|friend_timeline|show|comments|update|delete)'] = 'status/$1'
 $api ['comments/(update)'] = 'comment/$1'
 $api ['search/(statuses|users|tags)'] = 'search/$1'
 $api ['collaborate/(create|respond|vote|show|delete)'] = 'collaborate/$1'
 $api ['collaborate/list'] = 'collaborate/show_list'
 $api ['news/list'] = 'news/index'
 $api ['news/(show|create|vote|create_comment|delete_comment|location_search)'] = 'news/$1'
 $api ['notifications/(show|mark_as_read)'] = 'notification/$1'
 $api ['settings/(service_hooks|email)'] = 'account.settings/$1'
 $config ['debug/auth'] = 'debug/auth_test'
 $api ['debug/auth'] = 'debug/auth_test'

Variable Documentation

$api['user/authorize'] = 'user/authorize'

Definition at line 81 of file routes.php.

$api['users/(show)'] = 'user/$1'

Definition at line 82 of file routes.php.

$api['users/list'] = 'user/show_list'

Definition at line 83 of file routes.php.

$api['friendships/(show|create|destroy|followers|follows)'] = 'friendship/$1'

Definition at line 86 of file routes.php.

$api['statuses/(public_timeline|user_timeline|friend_timeline|show|comments|update|delete)'] = 'status/$1'

Definition at line 89 of file routes.php.

$api['comments/(update)'] = 'comment/$1'

Definition at line 90 of file routes.php.

$api['search/(statuses|users|tags)'] = 'search/$1'

Definition at line 93 of file routes.php.

$api['collaborate/(create|respond|vote|show|delete)'] = 'collaborate/$1'

Definition at line 96 of file routes.php.

$api['collaborate/list'] = 'collaborate/show_list'

Definition at line 97 of file routes.php.

$api['news/list'] = 'news/index'

Definition at line 100 of file routes.php.

$api['news/(show|create|vote|create_comment|delete_comment|location_search)'] = 'news/$1'

Definition at line 101 of file routes.php.

$api['notifications/(show|mark_as_read)'] = 'notification/$1'

Definition at line 104 of file routes.php.

$api['settings/(service_hooks|email)'] = 'account.settings/$1'

Definition at line 107 of file routes.php.

$api['debug/auth'] = 'debug/auth_test'

Definition at line 111 of file routes.php.

$config['users'] = 'user/list_users'

Definition at line 44 of file routes.php.

$config['user/([A-Za-z0-9_]+)/followers'] = 'friendship/followers/user:$1'

Definition at line 43 of file routes.php.

$config['api/1/([A-Za-z_]+)/([A-Za-z_]+)'] = 'api.apiv1/dispatch/controller:$1/method:$2'

Definition at line 76 of file routes.php.

$config['admin/stats'] = 'admin.stats/index'

Definition at line 73 of file routes.php.

$config['settings/update_profile'] = 'account.settings/update_profile'

Definition at line 70 of file routes.php.

$config['settings/profile_photo/(update|remove)'] = 'account.settings/profile_photo/action:$1'

Definition at line 69 of file routes.php.

$config['settings/service_hooks'] = 'account.settings/service_hooks'

Definition at line 68 of file routes.php.

$config['settings/(profile|services)'] = 'account.settings/index/page:$1'

Definition at line 67 of file routes.php.

$config['messages'] = 'messaging/index'

Definition at line 64 of file routes.php.

$config['collaborate/q/([A-Za-z0-9]+)'] = 'collaborate/show/short_id:$1'

Definition at line 61 of file routes.php.

$config['collaborate/([A-Za-z_]+)'] = 'collaborate/show_section/section:$1'

Definition at line 60 of file routes.php.

$config['collaborate'] = 'collaborate/index'

Definition at line 59 of file routes.php.

$config['news/new'] = 'news/new_action'

Definition at line 56 of file routes.php.

$config['ne/([A-Za-z0-9]+)'] = 'news/show/short_id:$1'

Definition at line 55 of file routes.php.

$config['facebook/(authorize|deauthorize)'] = 'facebook/$1'

Definition at line 33 of file routes.php.

$config['twitter/new'] = 'twitter/new_action'

Definition at line 29 of file routes.php.

$config['session/twitter'] = 'session/twitter_login'

Definition at line 20 of file routes.php.

$config['twitter/destroy'] = 'twitter/destroy'

Definition at line 30 of file routes.php.

$config['session/new'] = 'session/new_action'

Definition at line 17 of file routes.php.

$config['event/([A-Za-z0-9_]+)'] = 'news/index/type:event/slug:$1'

Definition at line 54 of file routes.php.

$config['session/destroy'] = 'session/destroy'

Definition at line 19 of file routes.php.

$config['confirm/do'] = 'confirm/do_action'

Definition at line 25 of file routes.php.

$config['user/([A-Za-z0-9_]+)/follows'] = 'friendship/follows/user:$1'

Definition at line 42 of file routes.php.

$config['user/avatar/(small|medium|large)/([A-Za-z0-9_]+)'] = 'user/avatar/size:$1/username:$2'

Definition at line 41 of file routes.php.

$config['user/([A-Za-z0-9_]+)'] = 'user/show/username:$1'

Definition at line 40 of file routes.php.

$config['login'] = 'account.manage/login'

Definition at line 37 of file routes.php.

$config['register'] = 'account.manage/register'

Definition at line 36 of file routes.php.

$config['debug/(flockdb|sphinx|phpinfo|rss|notify)'] = 'debug/$1'

Definition at line 11 of file routes.php.

$config['news_events'] = 'news/index/type:all'

Definition at line 50 of file routes.php.

$config['news/([A-Za-z0-9_]+)'] = 'news/index/type:news/slug:$1'

Definition at line 52 of file routes.php.

$config['debug/auth'] = 'debug/auth_test'

Definition at line 110 of file routes.php.

$config['session/create'] = 'session/create'

Definition at line 18 of file routes.php.

$config['confirm/wait'] = 'confirm/wait'

Definition at line 24 of file routes.php.

$config['session/twitter/finish'] = 'session/twitter_finish'

Definition at line 21 of file routes.php.

$config['s/([A-Za-z0-9]+)'] = 'status/show/id:$1'

Definition at line 47 of file routes.php.

$config['events'] = 'news/index/type:event'

Definition at line 53 of file routes.php.

$config['_default'] = 'home/index'

Definition at line 14 of file routes.php.

$config['twitter/create'] = 'twitter/create'

Definition at line 28 of file routes.php.

$config['news'] = 'news/index/type:news'

Definition at line 51 of file routes.php.