style overview, sections only for now
This commit is contained in:
@ -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}"
|
||||
|
9
app/controllers/merged/styles_controller.rb
Normal file
9
app/controllers/merged/styles_controller.rb
Normal file
@ -0,0 +1,9 @@
|
||||
module Merged
|
||||
class StylesController < MergedController
|
||||
|
||||
def index
|
||||
@styles = Style.all
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user