summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 89927bee3..52c95c6a4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -18,6 +18,11 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Rails.application.routes.draw do
+ use_doorkeeper do
+ controllers :applications => 'oauth2_applications'
+ end
+
+ root :to => 'welcome#index'
root :to => 'welcome#index', :as => 'home'
match 'login', :to => 'account#login', :as => 'signin', :via => [:get, :post]
@@ -61,6 +66,8 @@ Rails.application.routes.draw do
end
end
+ resources :reactions, only: [:create, :destroy]
+
get '/projects/:project_id/issues/gantt', :to => 'gantts#show', :as => 'project_gantt'
get '/issues/gantt', :to => 'gantts#show'