remove legacy support for named reports

pull/6827/head
Tim Felgentreff 14 years ago
parent b5d620af6c
commit 9606559125
  1. 7
      lib/report/controller.rb

@ -15,13 +15,8 @@ module Report::Controller
end
##
# Render the report. Provides named access to saved reports throught the :report
# parameter and renders either the complete index or the table only
# Render the report. Renders either the complete index or the table only
def index
if params[:report] && report = report_engine.find_by_name(params[:report].titleize)
@query = report.deserialize
store_query(@query)
end
table
end

Loading…
Cancel
Save