mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Extract upsale pages into CustomComponents and render them on individual rails routes instead of Angular
This commit is contained in:
committed by
Oliver Günther
parent
7593fb2502
commit
092d5cd600
@@ -29,7 +29,7 @@
|
||||
class AngularController < ApplicationController
|
||||
before_action :require_login
|
||||
|
||||
no_authorization_required! :empty_layout, :notifications_layout
|
||||
no_authorization_required! :empty_layout
|
||||
|
||||
def empty_layout
|
||||
# Frontend will handle rendering
|
||||
@@ -37,12 +37,6 @@ class AngularController < ApplicationController
|
||||
render html: "", layout: "angular/angular"
|
||||
end
|
||||
|
||||
def notifications_layout
|
||||
# Frontend will handle rendering
|
||||
# but we will need to render with notification specific layout
|
||||
render html: "", layout: "angular/notifications"
|
||||
end
|
||||
|
||||
def login_back_url_params
|
||||
params.permit(:state)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user