[ENV] Configure default_url_options
This commit is contained in:
parent
bd574b21f6
commit
c79827d551
3 changed files with 11 additions and 12 deletions
|
@ -24,11 +24,6 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
end
|
||||
|
||||
def default_url_options
|
||||
return { protocol: 'https' } if Rails.env.staging? || Rails.env.production?
|
||||
{}
|
||||
end
|
||||
|
||||
def load_navbar_left_pannel_partial_url
|
||||
controller = request.controller_class
|
||||
method = params[:action]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue