Skip to content

Commit

Permalink
Remove @url_prefix
Browse files Browse the repository at this point in the history
This variable is not used anymore. since we generate the url in page links via the API response.
  • Loading branch information
tvdeyen committed Jun 1, 2020
1 parent 3801a8e commit ce24df0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/alchemy/admin/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def link
@attachments = Attachment.all.collect { |f|
[f.name, download_attachment_path(id: f.id, name: f.urlname)]
}
@url_prefix = prefix_locale? ? "#{Language.current.code}/" : ""
end

def fold
Expand Down

0 comments on commit ce24df0

Please sign in to comment.