Trying nokogiri
This commit is contained in:
1 parent
f9c5ee5d18
commit
f5fd3dec7a
10 files changed
+172
-75
No files matched your search
@@ -47,7 +47,7 @@ class ApplicationController < ActionController::Base
|
||||
# Render the page
|
||||
def render_page(id = nil)
|
||||
if @item
|
||||
render :text => parse_page(@item, id)
|
||||
render :text => process_page(@item, id), :layout => 'page_layout'
|
||||
else
|
||||
render :text => '404 Not Found'
|
||||
end
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
class PagesController < ApplicationController
|
||||
|
||||
include ApplicationHelper
|
||||
|
||||
before_filter :get_item, :only => [:index_from_link, :show_from_link]
|
||||
|
||||
def index
|
||||
|
||||
Reference in new issue
Block a user