Module: Twigg::App::Routes
- Defined in:
- lib/twigg-app/app/routes.rb
Instance Method Summary collapse
- #author_path(author) ⇒ Object
- #authors_path(options = {}) ⇒ Object
- #gerrit_authors_path ⇒ Object
- #gerrit_changes_path ⇒ Object
- #gerrit_tags_path ⇒ Object
- #pairs_path(options = {}) ⇒ Object
- #pivotal_path(options = {}) ⇒ Object
- #russian_novels_path(options = {}) ⇒ Object
- #team_path(team) ⇒ Object
- #teams_path(options = {}) ⇒ Object
Instance Method Details
#author_path(author) ⇒ Object
4 5 6 |
# File 'lib/twigg-app/app/routes.rb', line 4 def () '/authors/' + .tr(' ', '.') end |
#authors_path(options = {}) ⇒ Object
8 9 10 |
# File 'lib/twigg-app/app/routes.rb', line 8 def ( = {}) '/authors' + () end |
#gerrit_authors_path ⇒ Object
12 13 14 |
# File 'lib/twigg-app/app/routes.rb', line 12 def '/gerrit/authors' end |
#gerrit_changes_path ⇒ Object
16 17 18 |
# File 'lib/twigg-app/app/routes.rb', line 16 def gerrit_changes_path '/gerrit' end |
#gerrit_tags_path ⇒ Object
20 21 22 |
# File 'lib/twigg-app/app/routes.rb', line 20 def '/gerrit/tags' end |
#pairs_path(options = {}) ⇒ Object
24 25 26 |
# File 'lib/twigg-app/app/routes.rb', line 24 def pairs_path( = {}) '/pairs' + () end |
#pivotal_path(options = {}) ⇒ Object
28 29 30 |
# File 'lib/twigg-app/app/routes.rb', line 28 def pivotal_path( = {}) '/pivotal' + () end |
#russian_novels_path(options = {}) ⇒ Object
32 33 34 |
# File 'lib/twigg-app/app/routes.rb', line 32 def russian_novels_path( = {}) '/russian-novels' + () end |
#team_path(team) ⇒ Object
36 37 38 |
# File 'lib/twigg-app/app/routes.rb', line 36 def team_path(team) '/teams/' + team.tr(' ', '.') end |
#teams_path(options = {}) ⇒ Object
40 41 42 |
# File 'lib/twigg-app/app/routes.rb', line 40 def teams_path( = {}) '/teams' + () end |