Add Discourse plugin
This commit is contained in:
parent
f8662c9184
commit
0edc780ec7
16 changed files with 221 additions and 8 deletions
6
plugins/discourse/config/locales/de.yml
Normal file
6
plugins/discourse/config/locales/de.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
de:
|
||||
discourse:
|
||||
callback:
|
||||
invalid_nonce: Ungültige nonce
|
||||
invalid_signature: Ungültige Signature
|
||||
logged_in: Angemeldet!
|
||||
6
plugins/discourse/config/locales/en.yml
Normal file
6
plugins/discourse/config/locales/en.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
discourse:
|
||||
callback:
|
||||
invalid_nonce: Invalid nonce
|
||||
invalid_signature: Invalid signature
|
||||
logged_in: Logged in!
|
||||
10
plugins/discourse/config/routes.rb
Normal file
10
plugins/discourse/config/routes.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Rails.application.routes.draw do
|
||||
|
||||
scope '/:foodcoop' do
|
||||
|
||||
get '/discourse/callback' => 'discourse#callback'
|
||||
get '/discourse/initiate' => 'discourse#initiate'
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue