Standard fix
This commit is contained in:
@@ -23,7 +23,7 @@ module Adamantium
|
||||
end
|
||||
|
||||
def authors
|
||||
self.book_author.split(";").join(" ")
|
||||
book_author.split(";").join(" ")
|
||||
end
|
||||
|
||||
def status_colour
|
||||
|
@@ -1,4 +1,4 @@
|
||||
xml.instruct! "xml-stylesheet", {:href=>"/assets/style.xslt", :type=>"text/xsl"}
|
||||
xml.instruct! "xml-stylesheet", {href: "/assets/style.xslt", type: "text/xsl"}
|
||||
|
||||
xml.channel do |channel|
|
||||
channel.title "Daniel Nitsikopoulos"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
xml.instruct! "xml-stylesheet", {:href=>"/assets/style.xslt", :type=>"text/xsl"}
|
||||
xml.instruct! "xml-stylesheet", {href: "/assets/style.xslt", type: "text/xsl"}
|
||||
|
||||
xml.channel do |channel|
|
||||
channel.title "Daniel Nitsikopoulos"
|
||||
|
@@ -1,2 +1,2 @@
|
||||
xml.instruct!
|
||||
xml << yield
|
||||
xml << yield
|
||||
|
@@ -5,7 +5,7 @@ module Admin
|
||||
include Deps["commands.media.delete"]
|
||||
|
||||
def handle(req, res)
|
||||
delete.call(path: File.join(Hanami.app.root, "public", "media",req.params[:year], req.params[:path]))
|
||||
delete.call(path: File.join(Hanami.app.root, "public", "media", req.params[:year], req.params[:path]))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -15,7 +15,7 @@ module Admin
|
||||
Dir["#{MEDIA_DIR}*"]
|
||||
.reverse
|
||||
.reject do |path|
|
||||
IGNORE_PATHS.any?{|ip| path.match(ip) }
|
||||
IGNORE_PATHS.any? { |ip| path.match(ip) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user