roroacms 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -98,7 +98,7 @@ module Roroacms
98
98
  # checks if the admin is logged in before anything else
99
99
 
100
100
  def authorize_admin
101
- redirect_to admin_login_path, flash: { error: I18n.t("controllers.application.unauthorized") } and return if current_user.nil?
101
+ redirect_to admin_login_path and return if current_user.nil?
102
102
  end
103
103
 
104
104
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roroacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: