style overview, sections only for now

This commit is contained in:
2022-11-29 15:57:10 +02:00
parent 4136eaf282
commit 15ef3c34fd
12 changed files with 105 additions and 6 deletions

View File

@ -8,7 +8,7 @@ module Merged
def create
new_image = Image.create_new(params['filename'] , params['image_file'])
redirect = :merged_images
redirect = :images
if(params[:redirect])
redirect = params[:redirect].gsub("NEW" ,new_image.name)
puts "image redirect #{redirect}"

View File

@ -0,0 +1,9 @@
module Merged
class StylesController < MergedController
def index
@styles = Style.all
end
end
end