Change the way links are displayed in menus in front-end
This commit is contained in:
1 parent
6c83b3f9ae
commit
8fcb8ef8de
3 files changed
+16
-4
No files matched your search
@@ -21,7 +21,7 @@ class PagesController < ApplicationController
|
||||
when 'Page'
|
||||
render_page
|
||||
when 'Link'
|
||||
redirect_to "http://#{@item[:url]}"
|
||||
redirect_to @item[:url]
|
||||
end
|
||||
else
|
||||
render :file => "#{Rails.root}/public/404.html", :status => :not_found
|
||||
|
||||
Reference in new issue
Block a user