add nokogiri into Gemfile and fixing dup bug again...
This commit is contained in:
1 parent
c9e4d0f345
commit
b6db304579
6 files changed
+17
-3
No files matched your search
@@ -23,6 +23,13 @@ class Admin::DesignsController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def apply
|
||||
@design = Design.find(params[:id])
|
||||
#TODO do somehting to validate
|
||||
debugger
|
||||
doc = Nokogiri::HTML(@design.layout.file.read)
|
||||
end
|
||||
|
||||
def edit_file
|
||||
@design = Design.find(params[:id])
|
||||
filename = params[:filename]
|
||||
|
||||
Reference in new issue
Block a user