mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 12:17:30 +02:00
fixed codeclimate error
This commit is contained in:
parent
d2d31c049c
commit
5ce22debf2
1 changed files with 1 additions and 3 deletions
|
@ -24,9 +24,7 @@ module Admin
|
|||
|
||||
def render_by_format(page, filename)
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
render page
|
||||
end
|
||||
format.html { render page }
|
||||
format.csv do
|
||||
raw_csv = @q.result.to_csv
|
||||
send_data raw_csv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue