changed card and section style to active_yaml (because of entanglement :-)
This commit is contained in:
@ -10,11 +10,13 @@ module Merged
|
||||
def select_image
|
||||
@images = Image.all
|
||||
end
|
||||
|
||||
def select_template
|
||||
@sections = SectionStyle.sections
|
||||
@sections = SectionStyle.all
|
||||
end
|
||||
|
||||
def select_card_template
|
||||
@cards = CardStyle.cards
|
||||
@cards = CardStyle.all
|
||||
end
|
||||
|
||||
def new
|
||||
|
@ -2,8 +2,8 @@ module Merged
|
||||
class StylesController < MergedController
|
||||
|
||||
def index
|
||||
@sections = SectionStyle.sections
|
||||
@cards = CardStyle.cards
|
||||
@section_styles = SectionStyle.all
|
||||
@cards_styles = CardStyle.all
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user