Sha256: 47489052b8d2a694940f1cdf91bd72dbc0f0a7b4016b0197db9d99ec5abcf4a9

Contents?: true

Size: 539 Bytes

Versions: 8

Compression:

Stored size: 539 Bytes

Contents

# This hook is called whenever Mist needs to know if a user
# is allowed to do something. You can also pass in specific
# actions such as :create_post, :edit_post and so on. See
# documentation for details.
Mist.authorize :all do |controller|
  true
end


Mist.title = "Blog Title"
Mist.author.name = "John Doe"
Mist.author.email = "john@example.com"

# GitHub credentails -- without these you can't edit Gists
# because they're anonymous
ActiveGist::API.username = ENV['GITHUB_USERNAME']
ActiveGist::API.password = ENV['GITHUB_PASSWORD']

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
mist-0.6.3 lib/generators/mist/templates/initializer.rb
mist-0.6.3 spec/dummy_rails_app/config/initializers/mist.rb
mist-0.6.2 lib/generators/mist/templates/initializer.rb
mist-0.6.2 spec/dummy_rails_app/config/initializers/mist.rb
mist-0.6.1 lib/generators/mist/templates/initializer.rb
mist-0.6.1 spec/dummy_rails_app/config/initializers/mist.rb
mist-0.6.0 lib/generators/mist/templates/initializer.rb
mist-0.6.0 spec/dummy_rails_app/config/initializers/mist.rb