mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add cancan for authorization
This commit is contained in:
1 parent
f89c50d096
commit
2f1843151d
58 files changed
+341
-184
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ Rails.application.routes.draw do
|
||||
resources :templates_archived, only: %i[index], path: 'archived'
|
||||
resources :templates, only: %i[new create edit show destroy] do
|
||||
resources :restore, only: %i[create], controller: 'templates_restore'
|
||||
resource :archived, only: %i[show], controller: 'templates_archived_submissions'
|
||||
resources :archived, only: %i[index], controller: 'templates_archived_submissions'
|
||||
resources :submissions, only: %i[new create]
|
||||
resources :submissions_export, only: %i[index new]
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user