Skip to content

Commit

Permalink
chore: add CSV dep (#2906)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Jun 28, 2024
1 parent cc5190c commit da5d377
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,5 @@ gem "avo-record_link_field"

# gem "pagy", "< 8.0.0"
gem "pagy", "> 8"

gem "csv"
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ DEPENDENCIES
chartkick
countries
cssbundling-rails
csv
cuprite
database_cleaner-active_record
devise
Expand Down
20 changes: 10 additions & 10 deletions app/views/layouts/avo/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<%= display_meta_tags site: Avo.configuration.app_name, reverse: true, separator: "—" %>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= render partial: 'avo/partials/javascript' %>
<%= render partial: 'avo/partials/branding' %>
<%= render partial: 'avo/partials/pre_head' %>
<%= render partial: "avo/partials/javascript" %>
<%= render partial: "avo/partials/branding" %>
<%= render partial: "avo/partials/pre_head" %>
<%= render Avo::AssetManager::StylesheetComponent.new asset_manager: Avo.asset_manager %>
<%= stylesheet_link_tag @stylesheet_assets_path, "data-turbo-track": "reload", defer: true %>
<% if Avo::PACKED %>
Expand All @@ -23,15 +23,15 @@
<% end %>
<% end %>
<%= render Avo::AssetManager::JavascriptComponent.new asset_manager: Avo.asset_manager %>
<%= render partial: 'avo/partials/head' %>
<%= render partial: "avo/partials/head" %>
<%= turbo_refreshes_with method: :replace, scroll: :reset %>
<%= content_for :head %>
</head>
<body class="bg-application os-mac">
<div class="relative flex flex-1 w-full min-h-full" data-controller="sidebar" data-sidebar-open-value="<%= @sidebar_open %>">
<div class="flex-1 flex flex-col max-w-full">
<%= render partial: "avo/partials/navbar" %>
<div data-sidebar-target="mainArea" class="content-area flex-1 flex pt-16 relative <%= 'sidebar-open' if @sidebar_open %>">
<div data-sidebar-target="mainArea" class="content-area flex-1 flex pt-16 relative <%= "sidebar-open" if @sidebar_open %>">
<div class="hidden lg:flex">
<%= render Avo::SidebarComponent.new sidebar_open: @sidebar_open %>
</div>
Expand All @@ -42,7 +42,7 @@
<div class="content p-4 lg:p-6 flex-1 flex flex-col justify-between items-stretch <%= @container_classes %>">
<%= render partial: "avo/partials/custom_tools_alert" %>
<div class="flex flex-1 flex-col justify-between items-stretch space-y-8">
<%= yield.force_encoding('UTF-8') %>
<%= yield.force_encoding("UTF-8") %>
<%= render partial: "avo/partials/footer" %>
</div>
</div>
Expand All @@ -51,10 +51,10 @@
</div>
</div>
<%= turbo_frame_tag Avo::ACTIONS_TURBO_FRAME_ID, data: {turbo_temporary: 1} %>
<%= render partial: 'avo/partials/attach_modal' %>
<%= render partial: 'avo/partials/alerts' %>
<%= render partial: 'avo/partials/scripts' %>
<%= render partial: 'avo/partials/confirm_dialog' %>
<%= render partial: "avo/partials/attach_modal" %>
<%= render partial: "avo/partials/alerts" %>
<%= render partial: "avo/partials/scripts" %>
<%= render partial: "avo/partials/confirm_dialog" %>
<!-- Avo version: <%= Avo::VERSION %> -->
<!-- Rails version: <%= Rails::VERSION::STRING %> -->
<!-- Environment: <%= Rails.env %> -->
Expand Down

0 comments on commit da5d377

Please sign in to comment.