Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ace_editor auto saving problem, update card type for bootstrap
- Loading branch information
chuenlok
committed
Jun 27, 2015
1 parent
f0891cc
commit 6fd54a6
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
card/db/migrate_core_cards/20150627205133_fix_script_bootstrap_card_type.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- encoding : utf-8 -*- | ||
|
||
class FixScriptBootstrapCardType < Card::CoreMigration | ||
def up | ||
Card[:script_bootstrap].update_attributes! :type_id=>Card::JavaScriptID | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters