Skip to content

Commit

Permalink
Merge and update version.
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekEdwards committed Jan 28, 2019
2 parents a82c3ed + 9181226 commit cd67386
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/controllers/admin/admin_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Admin::AdminController < ApplicationController

before_action :confirm_admin
before_action :get_admin_pages
before_action :allow_iframes

# Add some prebuilt reports for displaying on the homepage
DashboardReport.prebuilt_reports.merge!({
Expand Down Expand Up @@ -38,5 +39,9 @@ def present_error_messages(record)
[]).to_sentence
flash[:danger] = error_msgs unless error_msgs.empty?
end

def allow_iframes
response.headers.delete "X-Frame-Options"
end

end
2 changes: 1 addition & 1 deletion config/initializers/version.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
OneclickCore::Application.config.version='v1.14.1-rc.2'
OneclickCore::Application.config.version='v1.14.1'

0 comments on commit cd67386

Please sign in to comment.